java PrintCompilation output: what's the meaning of “made not entrant” and “made zombie”

后端 未结 4 2035
忘了有多久
忘了有多久 2021-01-30 11:06

When running a Java 1.6 (1.6.0_03-b05) app I\'ve added the -XX:+PrintCompilation flag. On the output for some methods, in particular some of those that I know are g

4条回答
  •  旧巷少年郎
    2021-01-30 11:29

    A newer explanation is that there can be entries like this in log:

    129   72       3       EscapeAnalysysTest::second (24 bytes)
    .......... some more lines
    135   76       4       EscapeAnalysysTest::second (24 bytes)
    137   74       3       EscapeAnalysysTest::second (24 bytes)   made not entrant
    

    This actually means that one method (second here) has been compiled under tier level 3, then under tier level 4 it has been further more optimized and it has been made not entrant for the 3-d tier; meaning it will be replaced with code from the 4-th tier.

提交回复
热议问题