What is the definition of a Java Basic Block?

The ClassFile specification reads "The intent is that a stack frame map must appear at the beginning of
each basic block in a method." but it never goes about defining what a "basic block" is.
http://en.wikipedia.org/wiki/Basic_block indicates that basic blocks may not contain conditional branches.
http://asm.objectweb.org/current/doc/javadoc/user/org/objectweb/asm/MethodVisitor.html#visitFrame(int,%20int,%20java.lang.Object[],%20int,%20java.lang.Object[]) seems to indicate otherwise.
So which is it? Is there some official document on this topic?
Thank you,
Gili

tschodt wrote:
cowwoc wrote:
The ClassFile specification reads "The intent is that a stack frame map must appear at the beginning of
each basic block in a method." What is your source? It might be easier to answer your question if we can see that statement in context.1) Go to http://jcp.org/aboutJava/communityprocess/final/jsr202/index.html
2) Download the file
3) Open ClassFile-Java6.pdf
4) Search for the aforementioned text
I wish Sun made this specification available more easily but it's the only place I could find it.

Similar Messages

  • What is the definition of "plays" and/or "skips" in iTunes (version 10.5.3)?

    Hi all,
    I'm trying to "clean out" my iTunes library by deleting songs I never listen to, and maybe organizing playlists of songs I listen to more often than others.  I don't know the technical/offical terms, but there is the "toolbar" that shows artist/track/album/length etc., with options to add or remove categories such as plays/skips/genre and so on... My QUESTION is:  What is the definition of a "play" or a "skip?"  That is, are they tallied according to how many seconds a track is played before skipping (or continuing)?  If anyone can answer this, that would be awesome!
    PS.  Secondary question:  if the plays/skips are determined by a specific time limit, is there a way to change that time?  For example, if a skip is defined by clicking "next" before the track has reached 0:05 seconds, can I change that number to 0:03 or 0:10?
    Thanks so much!
    --Bobby

    I agree Luciu, I want to see the official docs for this too anyone know where they are?
    My understanding is that anytime you press skip *on your ipod* (not in iTunes while playing). This would appear to disadvantage songs with very long slow outros - as you might want to skip these to get to the next song. This would mean songs with long slow or hidden track outros would accrue additional skip counts.
    Perhaps Apple could ignore skips that are within 20 or 30 seconds of the ending to avoid that but yeah some docs would be nice to see.
    I use smart playlists to create playlists that do not contain any songs that have been skipped in the past 12 months. That suggests a timestamp is logged with each skip also.

  • What is the definition of "All Projects" in P6 EPPM for the Team Usage Charts?

    In P6 Professional 8.3, there is a User Preference setting which can be used to define "All Projects" for the Resource Usage Profile. The choices are: All Open, All Closed except What-if, All Closed with Leveling Priority over x. In P6 EPPM 8.3, there are My Preferences settings. In these settings, I see several choices which are also in the P6 Professional User Preferences, but I do not see a way to set the definition of "All Projects". Does this mean that EPPM uses the SAME settings as selected in P6 Professional or does it mean that "All Projects" is not configurable in P6 EPPM? If it is not configurable in P6 EPPM, what is the definition of "All Projects" in P6 EPPM?

    http://www.apple.com/batteries/iphone.html  look here Apple-batteries-iphone.

  • What's the best way to create basic scrolling up end credits

    What's the best way to create basic scrolling up end credits with FCE. I want create normal look after the film that has a gap between the working title and the name (center-aligned, two-column
    scrolls)
    In the FCE Manual there was a good way to to do it with an asterisk (*) between the the words, but problem occurs when I had an umlaut (ÄÖ) in the word. The asterisk becomes visible and as many umlauts in the working title so many letters missing from the beginning of the name. I'm from Finland and we have lots of umlauts. So is there any other way to do this with FCE.

    You can use Title Crawl in Boris to do this. You set it up like a word processor with a right aligned tab, a gap and then a left aligned tab. Double click in the ruler to create a tab stop. Double click it again to change its alignment. You use the tab key to move between the stops. It's kind of hard to explain, but if you play with it, I think you'll get it.
    There is also Boris documentation on the install disc which will explain it more fully.
    Message was edited by: Tom Wolsky

  • What is the definition of TREX

    Hi,
    What is the definition of TREX?
    Regards,
    Sri.

    Hi,
    The meaning of TREX  is Search and Classification.
    TREX is a search engine used for searching the KM documents in a classified way.
    You can use taxonimies(query based or example based) for classifying the documents.
    TREx needs to be configured before using the search functionality.
    Raghu

  • What are the pre-requisite for JAVA Proxy communication?

    What are the pre-requisite for JAVA Proxy communication?

    Hi,
    You can install the Java proxy runtime on the SAP J2EE Engine Release 6.40 SP5 or higher.
    The messaging system that the Java proxy runtime uses to send messages to the Integration Server must also be installed on the J2EE server.
    To send messages from a J2EE application, the application must be programmed against beans that encapsulate all details about the Java runtime. The following classes are generated:
    ·        Proxy classes that send or receive messages using the Java proxy runtime.
    ·        Bean classes as an outer shell that conform to the J2EE standard. The beans call the proxy classes for communication.
    The classes must be deployed on the J2EE server together with their J2EE application
    see this link for the example scenario http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d

  • What is the latest version of Java produced by the Sun?

    Sorry for this simple question.
    What is the latest version of Java produced by the Sun?

    JDK 6 Update 13
    JDK 6 has been made open source.
    https://jdk6.dev.java.net/
    JDK 7 is in development.
    https://jdk7.dev.java.net/
    Edited by: dvohra on Apr 6, 2009 7:30 AM

  • What is the latest version of JAVA I can dowload to Windows XP Home Edition

    I just deleted all versions of JAVA from my desk top computer. What is the latest version of JAVA that I can download to my computer using Windows XP Home Version 2002 SP3.
    I have an Intel[R] D CPU 2.8ghz with 2.00GB of RAM
    When I try to use "LIVE" in an education environment for group meetings it says I need to download JAVA.

    7.51 @ http://java.com/en/

  • What's the definitive answer ?

    I have a question which I'm sure has been asked but I cant seem to find it. I have 12" PB G4, 1.5GHz. I have order iLife 08 but in reading the discussion boards I'm not sure it will work. Some say it will ,other say there is a work around for imovie. others say return
    So, here's the questions:
    Will imovie be the only issue?
    If so, Can I still use imovie 06?
    Should I just return it ?
    What's the definitive answer ?
    Thanks

    Sounds like you've seen a few posts on this, but I'll confirm what I know, which does not include a work around for iMovie'08:
    I installed iLife'08 and iWork'08 on three machines last night.
    iMovie'08 would not even try to install on our G-4, 1.25gHz, the line item and check box were always grayed out. iLife'08 did not bother my existing iMovie'04, or '05, and installed the other components fine.
    The G-5 and Intel machines both loaded everything fine.
    Joe

  • Does WLS 7 support Java 1.4.1_06? And what is the latest version of Java that WLS7 does support?

    Can anybody give me a clear answer (or a reference to it) of what versions Java that WLS7 does support?
    We're interested in upgrading Java on our servers to version 1.4.1_06 - does WLS7 support this?
    And what is the latest version of Java that WLS7 does support?
    Rgds,
    Søren Andersen
    Cph/Denmark

    Soren,
    WebLogic 7.0 supports JDK 1.31
    WebLogic 8.1 supports JDK 1.41
    Deepak
    Søren Andersen <san@[NO---SPAM]mondo.dk> wrote:
    Can anybody give me a clear answer (or a reference to it) of what versions
    Java that WLS7 does support?
    We're interested in upgrading Java on our servers to version 1.4.1_06
    - does WLS7 support this?
    And what is the latest version of Java that WLS7 does support?
    Rgds,
    Søren Andersen
    Cph/Denmark

  • What is the  best money making java program?

    what is the best money making java program?
    any of them are in fact very "simple"? - say in fact can be develop by a middle- level programmer.

    public class MoneyMaker {
       public static void main(String[] args) {
          while (true) {
             System.out.println("+-----------------------------------------------+");
             System.out.println("| 10        RESERVE BANK OF INDIA \"93T 872468\"  |");
             System.out.println("|                                               |");
             System.out.println("|   ______                                   10 |");
             System.out.println("|  /      \\             __          ____        |");
             System.out.println("|  |      |        /|  /  \\        /  __\\       |");
             System.out.println("|  |      |         | |    |       0_o  \\\\      |");
             System.out.println("|  |      |         | |    |      /      ||     |");
             System.out.println("|  |      |         |  \\  /       `==    ||     |");
             System.out.println("|  |      |        ===  **         \\    /       |");
             System.out.println("|  |      |                        /\\--/        |");
             System.out.println("|  \\______/                       /______   /\\  |");
             System.out.println("|                                           \\/  |");
             System.out.println("| \"93T 872468\"                                  |");
             System.out.println("+-----------------------------------------------+");
             System.out.println("");
    }

  • What is the wrong in this PL/SQL  block

    Hi a...
    Can you please tell what is the wrong in this pl/sql block.
    declare
    TYPE TYP_NT_NUM IS TABLE OF NUMBER ;
    v_tab TYP_NT_NUM := TYP_NT_NUM();
    TYPE uname is VARRAY(30) of varchar2(100) ;
    usr uname := uname ( 'u1','u2','u3','u4' );
    TYPE pwd is VARRAY(30) of varchar2(100) ;
    psw pwd := pwd('p1','p2','p3','p4');
    x number(10):=0;
    Cursor fcid IS Select distinct FC_ID From FCMASTER ;
    Begin
    Open fcid ;
    --for ii in usr.first .. usr.last loop
         Loop
              Fetch fcid Into x ;
              Exit When fcid%NOTFOUND ;
              v_tab(fcid%ROWCOUNT) := x ;
         End loop ;
         For iii IN v_tab.FIRST .. v_tab.LAST Loop
              dbms_output.put_line(v_tab(iii).FC_ID) ;
              End loop ;
    End loop; End of outer loop
    End;
    The error is
    Error
    [row:28,col:36] ORA-06550: line 28, column 36:
    PLS-00487: Invalid reference to variable 'NUMBER'
    ORA-06550: line 28, column 4:
    PL/SQL: Statement ignored
    Thanks in advance,
    Pal

    v_tab(iii).FC_ID
    declare
      type typ_nt_num is table of number;
      v_tab typ_nt_num;
    begin
      select distinct object_id bulk collect into v_tab from all_objects where rownum <= 10;
      for i in 1 .. v_tab.count loop
        dbms_output.put_line(v_tab(i)) ;
      end loop ;
    end;
    /

  • What is the signiface of Account Assignment (Coding) Block: Details

    Hi what is the signiface of Account Assignment (Coding) Block: Details
    what is its effect in PO

    Hi,
    Material are procured as stock or non-stock materials. When you procure material which can be used in production of finished product ,stock is maintained.
    Account assignment category describes how the procured material is being used (for eg: Cost Center, Sales Order, etc). It also determines how the accounting entries made when a GR document or IR document is posted.
    When you use the Account Assignment Category "K", it means the material is allocated to a cost center for consumption. The Materials is accounted to the particular cost center.
    Account Assignment Category "P" is used for materials that are required for the project related.
    Hope it helps.
    Regards,
    Bijoy Kumar

  • HT5242 So what is the definition of "extended period of time" Apple?

    I have a reliance on Java for work VPN functionality... I'd like to know what Apple's definition is for re-disabling my Java applet functionality after an extended period of time.  Thanks

    As a security hardening measure, the Java browser plugin and Java Web Start are deactivated if they are unused for 35 days.
    About the security content of Java for OS X 2012-003 and Java for Mac OS X 10.6 Update 8

  • What's the best XML for JAVA?

    Hi There,
    My big question is what should I use for develop a normal XML document, that can:
    - contain BASE64 strings
    - support UTF-8 add attributes, etc.
    I then want to pick this document and:
    - do it's parsing (walk trough)
    - apply a xsl to this document.
    I've made this in C using libxml2 for WIN32/HP-UX, and also in VB using msxml4, now I must make the same document in Java, I see a lot of alternatives but really don't know what to choose...
    In these languages I pick a structure that we support (similar to a tree) and serialize it to XML, send it as a string and then rebuild the initial structure with flaws. Each client can have a xsl file to show the information in the way he wants to.
    So, I ask your opinion what's the best for JAVA (a fast learning curve is preferable, but speed of processing is very, very important)?
    Thanks in advance for all the replies,
    Lu�s Pinho

    Have you looked at Apache's XML Beans?
    http://xml.apache.org/xmlbeans/

Maybe you are looking for