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

后端 未结 4 2030
忘了有多久
忘了有多久 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:19

    Here is a Gist with an unbelievable amount of information on PrintCompilation. Specifically, it says:

    When deoptimization happens, if it is decided to invalidate the offending nmethod, it will be "made not entrant" first; and then, when the NMethodSweeper finds that there are no activations of it on the stacks any more, it is "made zombie";

提交回复
热议问题