diff -r f0312c7d5b37 -r ba6c248cae19 test/lib/sun/hotspot/WhiteBox.java --- a/test/lib/sun/hotspot/WhiteBox.java Wed Nov 13 11:21:15 2019 +0100 +++ b/test/lib/sun/hotspot/WhiteBox.java Wed Nov 13 11:37:29 2019 +0100 @@ -384,7 +384,6 @@ public native void freeMetaspace(ClassLoader classLoader, long addr, long size); public native long incMetaspaceCapacityUntilGC(long increment); public native long metaspaceCapacityUntilGC(); - public native boolean metaspaceShouldConcurrentCollect(); public native long metaspaceReserveAlignment(); // Don't use these methods directly