512 // Safepoint Checking |
512 // Safepoint Checking |
513 public native void assertMatchingSafepointCalls(boolean mutexSafepointValue, boolean attemptedNoSafepointValue); |
513 public native void assertMatchingSafepointCalls(boolean mutexSafepointValue, boolean attemptedNoSafepointValue); |
514 |
514 |
515 // Sharing & archiving |
515 // Sharing & archiving |
516 public native String getDefaultArchivePath(); |
516 public native String getDefaultArchivePath(); |
|
517 public native boolean cdsMemoryMappingFailed(); |
517 public native boolean isSharingEnabled(); |
518 public native boolean isSharingEnabled(); |
518 public native boolean isShared(Object o); |
519 public native boolean isShared(Object o); |
519 public native boolean isSharedClass(Class<?> c); |
520 public native boolean isSharedClass(Class<?> c); |
520 public native boolean areSharedStringsIgnored(); |
521 public native boolean areSharedStringsIgnored(); |
521 public native boolean isCDSIncludedInVmBuild(); |
522 public native boolean isCDSIncludedInVmBuild(); |
522 public native boolean isJFRIncludedInVmBuild(); |
523 public native boolean isJFRIncludedInVmBuild(); |
523 public native boolean isJavaHeapArchiveSupported(); |
524 public native boolean isJavaHeapArchiveSupported(); |
524 public native Object getResolvedReferences(Class<?> c); |
525 public native Object getResolvedReferences(Class<?> c); |
|
526 public native void linkClass(Class<?> c); |
525 public native boolean areOpenArchiveHeapObjectsMapped(); |
527 public native boolean areOpenArchiveHeapObjectsMapped(); |
526 |
528 |
527 // Compiler Directive |
529 // Compiler Directive |
528 public native int addCompilerDirective(String compDirect); |
530 public native int addCompilerDirective(String compDirect); |
529 public native void removeCompilerDirective(int count); |
531 public native void removeCompilerDirective(int count); |