Mercurial > hg > truffle
diff test/testlibrary/whitebox/sun/hotspot/WhiteBox.java @ 20667:887a7cedb892
8064701: Some CDS optimizations should be disabled if bootclasspath is modified by JVMTI
Summary: Added API to track bootclasspath modification
Reviewed-by: jiangli, dholmes, minqi
author | iklam |
---|---|
date | Tue, 18 Nov 2014 03:38:50 -0800 |
parents | 643d6baecfe1 |
children |
line wrap: on
line diff
--- a/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Thu Nov 20 11:06:26 2014 +0100 +++ b/test/testlibrary/whitebox/sun/hotspot/WhiteBox.java Tue Nov 18 03:38:50 2014 -0800 @@ -90,6 +90,10 @@ public native URL[] getLookupCacheURLs(ClassLoader loader); public native int[] getLookupCacheMatches(ClassLoader loader, String name); + // JVMTI + public native void addToBootstrapClassLoaderSearch(String segment); + public native void addToSystemClassLoaderSearch(String segment); + // G1 public native boolean g1InConcurrentMark(); public native boolean g1IsHumongous(Object o);