HotSpot compilation latency

Tobias Hartmann tobias.hartmann at oracle.com
Mon Aug 12 12:23:09 UTC 2019


On 12.08.19 14:07, Stefan Reich wrote:
>> That depends on how often the loop backedge is taken on your system in that second.
> Is this dependent on a fixed-interval timer or something? Is it specified?

Similar to the number of invocations, the number of backedges taken are also counted (by the
interpreter or C1 compiled code) and there are backedge thresholds. See Tier*BackEdgeThreshold:
http://hg.openjdk.java.net/jdk/jdk/file/0211b062843d/src/hotspot/share/runtime/globals.hpp#l2027

Best regards,
Tobias


More information about the hotspot-dev mailing list