8140802: Clean up and refactor of class loading code for CDS
Reviewed-by: jiangli, acorn
This commit is contained in:
parent
44b3e9e0fe
commit
325d83e689
@ -340,6 +340,7 @@
|
||||
<to>java.sql</to>
|
||||
<to>java.sql.rowset</to>
|
||||
<to>jdk.scripting.nashorn</to>
|
||||
<to>jdk.vm.cds</to>
|
||||
</export>
|
||||
<export>
|
||||
<name>sun.reflect.annotation</name>
|
||||
|
@ -407,6 +407,7 @@ public class WhiteBox {
|
||||
public native void assertMatchingSafepointCalls(boolean mutexSafepointValue, boolean attemptedNoSafepointValue);
|
||||
|
||||
// Sharing
|
||||
public native boolean isSharedClass(Class<?> c);
|
||||
public native boolean isShared(Object o);
|
||||
public native boolean areSharedStringsIgnored();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user