< prev index next >

src/hotspot/share/prims/whitebox.cpp

Print this page
rev 51053 : 8207830: [aix] disable jfr in build and tests

*** 1783,1792 **** --- 1783,1800 ---- WB_ENTRY(jboolean, WB_IsJavaHeapArchiveSupported(JNIEnv* env)) return MetaspaceShared::is_heap_object_archiving_allowed(); WB_END + WB_ENTRY(jboolean, WB_IsJFRIncludedInVmBuild(JNIEnv* env)) + #if INCLUDE_JFR + return true; + #else + return false; + #endif // INCLUDE_JFR + WB_END + #if INCLUDE_CDS WB_ENTRY(jint, WB_GetOffsetForName(JNIEnv* env, jobject o, jstring name)) ResourceMark rm; char* c_name = java_lang_String::as_utf8_string(JNIHandles::resolve_non_null(name));
*** 2161,2170 **** --- 2169,2179 ---- {CC"isSharedClass", CC"(Ljava/lang/Class;)Z", (void*)&WB_IsSharedClass }, {CC"areSharedStringsIgnored", CC"()Z", (void*)&WB_AreSharedStringsIgnored }, {CC"getResolvedReferences", CC"(Ljava/lang/Class;)Ljava/lang/Object;", (void*)&WB_GetResolvedReferences}, {CC"areOpenArchiveHeapObjectsMapped", CC"()Z", (void*)&WB_AreOpenArchiveHeapObjectsMapped}, {CC"isCDSIncludedInVmBuild", CC"()Z", (void*)&WB_IsCDSIncludedInVmBuild }, + {CC"isJFRIncludedInVmBuild", CC"()Z", (void*)&WB_IsJFRIncludedInVmBuild }, {CC"isJavaHeapArchiveSupported", CC"()Z", (void*)&WB_IsJavaHeapArchiveSupported }, {CC"clearInlineCaches0", CC"(Z)V", (void*)&WB_ClearInlineCaches }, {CC"handshakeWalkStack", CC"(Ljava/lang/Thread;Z)I", (void*)&WB_HandshakeWalkStack }, {CC"addCompilerDirective", CC"(Ljava/lang/String;)I",
< prev index next >