RFR(S): 8079062, 8079775: Stack walking compilation policy issues
igor.veresov at oracle.com
Tue Jun 30 20:23:32 UTC 2015
The stack walking compilation hasn’t been tested for a while and has bit-rotted a bit.
The following change fixes:
JDK-8079775 Java 9-fastdebug ia32 Error: Unimplemented with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options
This is just an error-reporting problem. Stack walk policy is not supported for client.
JDK-8079062 Java 9-fastdebug crash(hit assertion) with "-XX:CompilationPolicyChoice=1 -XX:-TieredCompilation" options
Here, after the permgen removal method handles can be only created on stack and RFrames were creating them in the resource area.
In fact, since the permgen is gone, and methods cannot be removed while they are on stack, handles are unnecessary in RFrames, so I made those just Method*.
More information about the hotspot-compiler-dev