An interesting phenomenon about xload_0 like instructions

I have noticed a phenomenon:
when an object is instanciated by the "new" instruc- tion, the JVM will first create an object of its father class and instanciate the object (you can find aload_0 invo- ke_special 0,1in its init method), then store the already prepared reference of father class's object into its local variable with index 0(by instruction "aload_0").
I also noticed:
In the "main(String args[])" method, if you want to use
args[0], the bytecode for such use is "aload_0 iconst_0
aaload", the sequence tells us that JVM referenced the
local variable with index 0 which holds the args reference
,then the array item's index will be obtained from operand
stack, and the item can then be found.
But I have never found the use of "iload_0".Thus I wond-er whether the local variable with index 0 is set aside for these two kinds of use.If so, the instruction "iload_0" can never be used.

Therefore, only a static method can use iload_0:
    static int foo(int i) {
        return i;
    }is compiled into:
Method int foo(int)
   0 iload_0
   1 ireturn

Similar Messages

  • Interesting Stuff about Heat, Whining, and CPU

    This whining noise with my new macbook pro has had me (and many others) stumped. I still havent found a solution, but I've gathered some interesting data with a great program found here: http://www.bresink.de/osx/TemperatureMonitor.html.
    First, for those more worried about the heat, new MacBook Pros do not seem to have a heat problem (at least mine doesn't). Mine runs cooler on my lap than on my desk for some weird reason though. About 50 C on the desk and 40 or so on my lap. (I had posted in another topic that the laptop felt hotter on my lap, but after letting the unit sleep for awhile, then running it on my desk and then on my lap, Bresink's temperature monitor confirms the temperatures, which could be due to the vent design or my owning a crappy desk lol.)
    Second, the System Information window shows my MacBook Pro as being manufactured on 4/14/06, so new revisions obviously did not fix the whining issue.
    Third, the System Information window reports that the CPU does NOT have variable speed (***?) and shows it to be running at 1.83 ghz all the time regardless of power management settings or AC/battery power. Anyone else find this strange? Both the nominal CPU clock and the actual CPU clock are always at 1.83 ghz according to this program.

    Another interesting information about the whine and why it, for some of the users who have a whining MBP, didn't occur on WinXP SP2:
    MS KB918005 "Battery power may drain more quickly than you expect on a Windows XP SP2-based portable computer" ( http://support.microsoft.com/kb/918005/en-us )
    After applying this fix, which fix a power drain due to bad power management in WinXP SP2, a user reported on onmac.net forum ( http://forum.onmac.net/showthread.php?t=1214 ) that his MacBook Pro started to whine on WinXP.
    This confirm what said the former intel engineer who posted on this forum at the beginning of the talks about this issue. This fix will also likely make other notebook PCs whine.
    So apparently MacOS X do manage the power correctly, and the fact that the whine didn't appear on WinXP SP2 was because of not using the CPU power states in which the whine appear (C4 power state for example). So the fact of no whine under WinXP SP2 on MacBook Pro was because of a bug in WinXP SP2 CPU power management states.
    So apparently the former intel guy who posted here was right and so if we assume that all what he said was right, then he also said that there is not hardware way to be sure that all computer produced are whine free (because of the nature of the components used), but that, by using component of better quality, it can be reduced for the units which are unluckily not whine free.
    Considering that thing, it's unlikly that a software update can remove the whine issue without reducing the battery life, and as latest user report seems to indicate that the recents series of MBP have a quieter whine, I HIGHLY RECOMMEND PEOPLE WHO DO HAVE A LOUD WHINING MBP TO SEND IT TO APPLE, IN ORDER TO GET THE LOGIC BOARD REPLACED BY A RECENT ONE!

  • Hi i have an iphone4 and i lost it how can i find it online i have all information about it like serial number

    hi i have an iphone4 and i lost it how can i find it online i have all information about it like serial number

    If you enabled the "Find My iPhone" feature prior to the device being lost, go to iCloud.com, sign in and select the locate option.
    If you did not enable the feature prior to the device being lost then you are basically out of luck.

  • Could someone explain me about tools like "RICEF"

    Hi Guys,
    Could someone explain me about tools like "RICEF"(I dont know if iam spelling it correctly) and ASAP methodology. Iam wondering how this are related to SAP upgrade and fresh SAP implementation.
    Many thanks in advance.
    Warm Regards,
    Garrick.

    Hi
    It would be helpful to go through the help document of ASAP Methodology.
    The following information may clarify some doubts/requirements you have.
    Generating the Project IMG through ASAP:
    After you have set the project scope, the next step is to generate the Project IMG. From the Business Process Master List (BPML), you can directly access the IMG activities relevant for configuring each process.
    BPML: The Business Process Master List, along with the Business Blueprint, is a key result of the second phase of the Roadmap. Microsoft Excel tables contain the SAP scenarios, process groups, and processes that have been set in scope in the SAP Reference Structure, and are crucial for configuring your SAP System. In Realization, the third phase of the Roadmap, the BPML provides the basis for monitoring and steering test activities and for configuring your SAP System. It contains the titles of the structure items, and displays the status, the owner, links to documentation and links to the SAP System. Amongst other things, the BPML allows you to:
    1) Set your baseline and final scope. These are used for baseline and final configuration.
    2) Access the Project IMG and specific IMG activities assigned to structure items.
    3) Access integration test plans, which help you carry out all required integration tests.
    The Prerequisite is you have set the project scope.
    Process Flow to use the Business Blueprint as a basis for configuring your SAP System:
    1) Set the project scope.
    2) Generate the Project IMG.
    3) Generate the BPML.
    4) From a specific processes in the BPML, you can go to the relevant IMG activities and make Customizing settings.
    Hope this information provides information
    Check the following link for downloading the complete reference document on ASAP.
    http://help.sap.com/printdocu/core/print46b/en/data/en/pdf/SVASAP.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SVASAQADBCBI/QADBCBI.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SVASACCT/SVASACCT.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SVASAPROZ/SVASAPROZ.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SVASQADBS/Q&ADBSTRUCSTAN.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/SVASAPE/SVASAPE_01.pdf
    Regards

  • Interesting phenomenon -- cellphone iChatAV! -- and a question about VPN...

    Maybe a month or so, when I first bought my iSight, I was quite pleased to find that it worked "right out of the box" with my 2001 Quicksilver G4/867 and ActionTec GT701WG DSL modem. I successfully connected to the test sites, to ralphjohnsr, nqmacuser, and rjinwi. Then I got one for work. Oddly enough, I could connect to all the aforementioned sites from work, but could never connect to/from work from/to home (a 2002 Quicksilver G4/800).
    Then came the 10.4.7 ppc combo update. All was ok on the home front, but work was a disaster. Couldn't connect to anyone, no test sites, no nuthin'.
    After battling the issue since updating in vain, today, for grins and chuckles, I disconnected my work computer from its wired ethernet connection, plugged in my cell phone to a USB port (I've got a 1XRTT cellphone modem script for my Mot T730C) and made a AVchat over PPP dial up via 1XRTT to home! I was really quite surprised that it even worked because dslreports/stest reported my cellphone uplink at a big whoppin' 39kbps max -- usually less -- but it worked multiple times. Kinda absolved my home and work computers and my home DSL modem (and all the current computer and DSL modem firewall port settings) of any guilt....
    That leaves work's firewall as the likely culprit. Work's firewall is pretty tight, we need to use VPN to get in from the outside, and so I'm now thinking that something in the SIP or AV port handover is not playing nice with work's firewall, especially since 10.4.7 since I can't connect to anything at all anymore from work. Problem is, it doesn't seem to want to play nice with VPN, either, whether initiating the call from the outside or the inside, after outside has established a VPN tunnel.
    As an aside, I did some tcpdumps on all of ichat's ports on both ends of the (cellphone) circuit today along with an errorLogLevel7 -- I plan to consolidate all that into a chronologically arranged excel spreadsheet, since the AV connection was successful, then do the tcpdump game on a failed work ethernet connection to see if a comparison of port logs plus ichat log leads to any clues. (Ralph, if interested when I complete the "successsful call" spreadsheet, you are more than welcome to have a copy to perhaps post on your excellent website -- it would be way too big to post here -- if interested, lemme know.)
    Anyways, getting back on track, I'm thinking that work's firewall is my problem, but it seems to me that I should be able to iChatAV over VPN -- I can iChatAV between computers that are both inside work's firewall. So I'm wondering, anybody out there have any experience with using iChatAV through a VPN? I'm using VPN Tracker on my home Mac. Work's VPN gateway requires Checkpoint VPN-1 certificates at both ends.

    HI J.v.,
    The most likely problem is that your company may be using their internet connection for their phone service as well.
    This would also use SIP on port 5060 as ichat does.
    Even if they do not use the phones/internet in this way the ISP might offer it and be blocking port to get people to pay for the service.
    11:22 PM Tuesday; July 11, 2006

  • Ask about import and instruction which i don't understand.

    Hi,
    I am very new to java. please help..
    I want to run some example in some sites i found.
    but some time i found that the sample requires or need me to download the included library in order to run the code successfully
    while i don't know what, how and where to put that library.
    i download it, and it in .jar type. , i also find the instruction like this : *"Please note that these packages must be on the classpath of your building environment."*
    what that means actually ?, how to accomplish it ?
    and what about that .jar file, i think it must be a collection of file (or class???) , because when i looked at the code, it contains some import commands. and that jar file is the required files to download.
    please give me some brief n clear knowledge about this.
    thanks,
    ganero

    Ganero wrote:
    Hi,
    I am very new to java. please help..
    I want to run some example in some sites i found.
    but some time i found that the sample requires or need me to download the included library in order to run the code successfully
    while i don't know what, how and where to put that library.
    i download it, and it in .jar type. , i also find the instruction like this : *"Please note that these packages must be on the classpath of your building environment."*
    what that means actually ?, how to accomplish it ?
    and what about that .jar file, i think it must be a collection of file (or class???) , because when i looked at the code, it contains some import commands. and that jar file is the required files to download.
    please give me some brief n clear knowledge about this.
    thanks,
    ganeroBrief and clear knowledge starts with learning te Java language. [http://download.oracle.com/javase/tutorial/index.html]
    You can also find lots of examples at these tutorials.

  • Question about SAP note instruction(subroutine does not exist)

    Hello Experts,
    I was just given a task wherein I need to manually apply a SAP note but in the instruction it says that I need
    to edit a subroutine that when I checked does not exist in the function group. Now, do I need to create that subroutine
    or am I missing something?
    Hope you cna help me guys. Thank you and take care!

    Hi,
    You should not have created that subroutine on your own, it seems like its an Formula Routine created from tcode VOFM -> Formulas -> Condition Value. so create a routine with number 49(access key required) and add the code to it.
    But as this is a Enhancement implementation, i recommend you to implement this Notes by importing the support package for the component SAP_APPL. Details about support package level in which the note corrections are delivered are given in that notes. so better take help of your basis guy.
    Regards
    Karthik D

  • Interesting observation about internships

    I could see that. I can figure out some stuff, if you have some odd program, or have seen some sort of bug before just tell me and it will be done. I figured out a lot of clonezilla by myself, but I had also worked with ghost before interface, storage was different, but same concept really.
    Place I was trying to setup a Hitachi SAN (from like 04) I told my boss (the tech)I didn't think this was a great investment in utilizing as sat so many years, no software, docs for it, and huge waste of power when you could out the same storage in a small NAS now. She said admin want's done so let's try and do it. I kept running into issues, one time the admin was in our office I asked him takes me to some other Hitachi NAS that linked to a MCdata box, he goes back to office says that a Cisco intelligent FC switch is the controller even when the...

    I've done a couple of internships in I.T depts at different places. Both of them I noticed this which was a bit surprising.
    The first one I knew the tech that would be my boss, she didn't mind showing me how to use some of their software or we'd have something and see what the other thought about this idea or problem. Or I had some project and I'd mention some hiccup and how I'mtrying to fix she'd say did you check ... or sounds like you're heading in the right direction.
    I assumed just because were friends, but the next internship I had another person like that.
    I found interesting because a few of the guy techs I've seen are like okay fix this issue yet won't tell you how to use their odd app so you can make sure things work. Or there arrogant and you say you think the issue is X there like no the user messed something up. Or you have...
    This topic first appeared in the Spiceworks Community

  • How to display a picture like instruction?

    I'm want to display a pciture like working instruction before or after the UUT serial number input dialog,how to make the step ?

    Hi,
    Not sure what language you are using, but for example if you have labview look at Picture Control - Zoom Attribute.vi. Its not a Dialog panel but its shows the use of the picture control. If you are using CVI then there is similar examples.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • Would like Instruction Page to be separate

    Do know how to quite explain this, but here it goes....
    What I would like to have is text not flow onto the Instruction Page. All of my subforms are expandable.
    I would also like for the instruction Page to display Instruction Page 1 of 1 instead of (for e.g. Page 4 of 4).
    Any help will be appreciated.
    Thanks
    also I am working in LiveCycle 8

    Hi,
    You could set up a second master page for the instructions and set the design view page pagination to that master page. The page 1 of 1 is static text. Also I amended the total pages script in the first master page to "-1" so that the total number of pages noted on the form does not include the instructions page.
    Another solution would be to hide the instruction page and then show it on the click of the button. You could then include a hide button.
    Good luck,
    Niall

  • Few interesting facts about database under UCM 10g

    This data is obtained from one project. The reader may get an impression how database under UCM will look like, which can help a DB Administrator to set it up.
    The project uses very few custom metadata fields, documents are stored in the database. At the moment of the analysis, the database contained more than 40 millions of items and the overall size of the database was over 19.2TB.
    The list of tables with size over 1 GB:
    Table Name Records Size Meaning
    FILESTORAGE 42 mil. 19.22 TB stores documents
    SCTACCESSLOG 368 mil. 113 GB stores audit trail from CONTENT TRACKER
    IDCCOLL1 17 mil. 26 GB stores full text information
    DOCMETA 42 mil. 10 GB custom metadata fields of content items
    REVISIONS 42 mil. 10 GB metadata for each revision
    DOCUMENTS 83 mil. 7 GB assets within the Content Server
    DOCUMENTHISTORY 41 mil. 3 GB history of actions performed on a document
    IDCCOLL2 1.8 mil. 3 GB stores full text information
    Other core Content Server tables that could be potentially large:
    ARCHIVEHISTORY - history of archived assets within the system (Archiver?)
    WORKFLOWHISTORY - history of actions performed on an asset within a workflow

    Hi Jiri,
    Thanks for sharing.
    That is a very small text index (as a proportion of the File Storage) is there a lot of 'image' type content stored?
    Classically I think the rule of thumb was to assume that text index would be 1/3 of the file storage - obviously this will vary hugely depending on what you store.
    I think it would be interesting to know the basic purpose for this system so that the great data you have provided can be put into a more useful context for other users.
    I would guess this is a high volume imaging system where the majority of items will only have one revision.
    Thanks
    Tim

  • Question to JHS team: what about regenerating like in Designer

    Hi JHS Team!
    First of all I must say it is a great tool and I happy to see You will go further with it.
    My company use Oracle Designer products since Oracle CASE time and we are very happy to see some product wich will us closer to designer concepts in J2EE environment.
    About one thing You didn't speak a lot. You speak only about generation but in true development environment You must consider a REGENERATION thing. Generator don't make all stuffs we want. It only make our life easier for development.
    Suppose we have generate one service. What we do when a generated stuff don't satisfy our goals? We can change MVC/Struts Framework configuration file, UIX/JSP pages, BC4J components. In JAG we can set to false to generate these things again. But from this point we can forgott JAG because we MUST make all the new stuff MANUALLY.
    With BC4J we haven't problem. We just change some properties and make changes through JDeveloper wizards. If we want to more flexibile ee can make our implementation of BC4J base classes and make our business classes extend generated.
    But with Controller and View parts we have a big problem.
    Did You thing about to make some improvments in this two parts to make our life (developers) more easier. I think like in Designer regeneration paradigm. He know what they generate and what not and only regenerate parts what belongs to it.
    I think when JHS will make available regeneration it will be moste usable in development phase. Now is it a greate-greate tool but with regeneration would be a very-very good.
    Thanks! It was a my oppinion about this problem!

    Attila,
    Thank you for the nice word.
    Within the development team, we have spoken several times about regeneration capabilities. It is quite complex to do, and right now we have lot of other enhancements and requirements (ADF integration!), that have a higher priority.
    So, frankly I don't think we will be able to add regeneration facilities in the near future.
    Steven Davelaar,
    JHeadstart Team.

  • Question(s) about Mask Paths-Instructing a mask to follow an open mask path

    Is it possible to instruct a closed mask to follow another open mask's path automatically?
    IF so how please? See Pic.
    I want Mask 2 the circle to follow mask 1 the "open path" from one end to the other over time. Without Manually KFraming each position. I'd rather do like 'text on a path' except using a mask shape instead of text. Animating via First or last Margin. Is that possible?
    The other ?
    How come my Mask shape moves from it's centered position (where I placed it) and then when I use my Pan Behind Anchor Point tool to animate the layer's Anchor point below it, the mask then moves off the screen to accomidate the pan? 
    Instead of having the Layer underneath panning as desired while leaving my mask centered in my comp?  I want the appearance that the picture is moving/tracking within the shape, while the shape stays put in the middle where I parked it.
    I even tried doing at as an anchor point pan, K Burns style. The Mask shape still animates instead of staying "put" in the center of the Layer? See Pics please Start/End
    Thanks for any direction on this one or two...

    Dave your instructions or work around are not clear to me.
    "Make an elliptical mask on a solid,  OK
    then double-click on the mask to enable the Free Transform tool.  <-- D.click the Mask in the comp, or the name in the TL?
    Put the center of the mask at the solid's anchor point. <--the center of the eliptical on it's anchor point? The eliptical mask? Unclear.
    Now highlight the open mask path, copy it and paste it into the solid's POSITION property. <--Unclear. There is only one mask path in your scenario where I have two in my question.
    Adjust the resulting position keyframes to taste; they default to a 2-second move.
    I think in other words it cannot be done having a shape mask follow an open mask  path, that or you don't know, as I did not. I can use a solid and keyframe it manually. However I asked that in my opening statement.

  • Interesting question about AppXRay

    I am sometimes working on the
    http://www.itracker.org
    Open Source project.
    Interestingly sometimes AppXRay does not see the errors. I can't exactly say, when. It seems to have to do with Struts forwards (Global Forwards, Multi-Modul-Forwarding, Dynamic Forwards).
    For example I had the code:
    return mapping.getInputForward();
    which I had to replace with
    return mapping.findForward("edituserform");
    What do you know about the Struts limitations of AppXRay?

    Yes, I think I can confirm this, although I am not absolutely sure what AppXRay can trace, and what not.
    If you (now) checkout the itracker source, and if you then (now) compare the source to the SourceForge bug list, then you will see that there are bugs in the application, that the Workshop does not see. And some of the not seen bugs seem to be related to AppXRay limitations and / or the way the itracker is currently programmed.

  • Interesting finding about the whining noise

    Hi,
    I have like many others here a new MBP 2.0 with the whining noise. I have spent 2 to 3 hours those last 2 days with several support persons struggling for having the repair box shipped to me as repair seems the only option for me (I dont want and cannot wait 3 weeks more to get another MBP). FYI they were unable to take care of my correct address....Hmm not very good.
    I have also done two interesting tests today:
    1) I am part of the ADC and can have access to the latest builds of MacOSX. I have downloaded the current 10.4.6 build (8I1113) and installed it on another partition. I confirm that in this build, the whining noise is still present on my MBP.
    2) I have also tested the Ubuntu Live CD (http://www.mactel-linux.org/wiki/Main_Page) and I was REALLY surprised not to hear any whining noise after ejecting the CD from the superdrive.
    So my gut feeling is that the whining noise is probably a software issue rather than a hardware issue.
    It could be interesting to get some feedback of people running Windoz on the MBP to check if they have also the whining noise in that case.
    Any feedback ?
    Fabrice
    MacBook Pro 2.0 / 1Gb / 120 Gb + PowerBook G4 1.67 HD (I am selling this one)   Mac OS X (10.4.5)  

    Seriously. do you even look at other threads before you post? lol. the whine that occurs the most has been diagnosed as a software problem. there have been many threads with ways to work around this problem. a couple links to threads that have software links or software suggestions in them are:
    http://discussions.apple.com/thread.jspa?threadID=409785&tstart=0
    http://discussions.apple.com/thread.jspa?threadID=387579&tstart=0
    a very popular thread is: http://discussions.apple.com/thread.jspa?threadID=374397&tstart=45
    and another site that provides a crude/ yet effective solution is:
    http://www.red-sweater.com/blog/105/all-work-and-no-play-makes-a-very-quiet-macb ook-pro
    i hope i helped
    iBook G4, 1.07 Ghz, 512 MB, 133 Mhz Bus Speed   Mac OS X (10.3.9)   MBP 2.0 GHz 2 GB soon to become MINE

Maybe you are looking for