8140802: Clean up and refactor of class loading code for CDS

Reviewed-by: jiangli, acorn
This commit is contained in:
Ioi Lam 2015-07-22 20:14:16 -07:00
parent 44b3e9e0fe
commit 325d83e689
2 changed files with 2 additions and 0 deletions

View File

@ -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>

View File

@ -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();
}