RFR(M): 8203883: Remove State from InvocationCounters

Nils Eliasson nils.eliasson at oracle.com
Wed Feb 12 07:58:54 UTC 2020


Hi,

This is a clean-up of the invocation counters. The original observation 
is that the action() method on invocationCounter is never used, which 
means the actions are never accessed. There are also init-values, but 
they are always the same regardless of state, so they can be removed 
too. And when both the action and init values are gone, the state has no 
use anymore and can be removed too. This simplifies the 
InvocationCounter a lot.

Bug: https://bugs.openjdk.java.net/browse/JDK-8203883
Webrev: http://cr.openjdk.java.net/~neliasso/8203883/webrev.02

Please review,

Nils Eliasson





More information about the hotspot-compiler-dev mailing list