8179302: Pre-resolve constant pool string entries and cache resolved_reference arrays in CDS archive
Shared class' constant pool resolved_references array is cached. Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com> Reviewed-by: coleenp, iklam, tschatzl
This commit is contained in:
parent
7c37f3aae2
commit
263d11de6d
@ -519,11 +519,12 @@ public class WhiteBox {
|
||||
// Safepoint Checking
|
||||
public native void assertMatchingSafepointCalls(boolean mutexSafepointValue, boolean attemptedNoSafepointValue);
|
||||
|
||||
// Sharing
|
||||
// Sharing & archiving
|
||||
public native boolean isShared(Object o);
|
||||
public native boolean isSharedClass(Class<?> c);
|
||||
public native boolean areSharedStringsIgnored();
|
||||
public native boolean isCDSIncludedInVmBuild();
|
||||
public native Object getResolvedReferences(Class<?> c);
|
||||
|
||||
// Compiler Directive
|
||||
public native int addCompilerDirective(String compDirect);
|
||||
|
Loading…
Reference in New Issue
Block a user