This is a small optimization to reduce JIT overhead during runtime.
https://github.com/openjdk/jdk/blob/a8871f5d26e5cb42c031c7b736ec30b1b147a2bc/src/hotspot/share/oops/method.cpp#L715
***
This is also a prerequisite forJDK-8305753 -- the JIT only calls compute_has_loops_flag() for methods that are compiled. As a result, different invocation of "java -Xshare:dump" may result in differences in the resulting archive, thus breaking the test test/hotspot/jtreg/runtime/cds/DeterministicDump.java
https://github.com/openjdk/jdk/blob/a8871f5d26e5cb42c031c7b736ec30b1b147a2bc/src/hotspot/share/oops/method.cpp#L715
***
This is also a prerequisite for
- relates to
-
JDK-8305771 SA ClassWriter.java fails to skip overpass methods
-
- Resolved
-