8234923: Missed call_site_target nmethod dependency for non-fully initialized ConstantCallSite instance

Reviewed-by: jrose
This commit is contained in:
Vladimir Ivanov 2019-12-03 20:13:21 +03:00
parent c7bc0f7a12
commit a6daef527e
9 changed files with 73 additions and 9 deletions

View file

@ -39,7 +39,7 @@ public class ConstantCallSite extends CallSite {
private static final Unsafe UNSAFE = Unsafe.getUnsafe();
@Stable // should NOT be constant folded during instance initialization (isFrozen == false)
/*final*/ private boolean isFrozen;
/*final*/ private boolean isFrozen; // Note: This field is known to the JVM.
/**
* Creates a call site with a permanent target.