Mercurial > hg > graal-jvmci-8
comparison 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 | cc5c3ef1f03a |
comparison
equal
deleted
inserted
replaced
20666:bee8095780db | 20667:887a7cedb892 |
---|---|
87 | 87 |
88 // Resource/Class Lookup Cache | 88 // Resource/Class Lookup Cache |
89 public native boolean classKnownToNotExist(ClassLoader loader, String name); | 89 public native boolean classKnownToNotExist(ClassLoader loader, String name); |
90 public native URL[] getLookupCacheURLs(ClassLoader loader); | 90 public native URL[] getLookupCacheURLs(ClassLoader loader); |
91 public native int[] getLookupCacheMatches(ClassLoader loader, String name); | 91 public native int[] getLookupCacheMatches(ClassLoader loader, String name); |
92 | |
93 // JVMTI | |
94 public native void addToBootstrapClassLoaderSearch(String segment); | |
95 public native void addToSystemClassLoaderSearch(String segment); | |
92 | 96 |
93 // G1 | 97 // G1 |
94 public native boolean g1InConcurrentMark(); | 98 public native boolean g1InConcurrentMark(); |
95 public native boolean g1IsHumongous(Object o); | 99 public native boolean g1IsHumongous(Object o); |
96 public native long g1NumFreeRegions(); | 100 public native long g1NumFreeRegions(); |