src/share/vm/prims/jvm.cpp

changeset 10015
eb7ce841ccec
parent 9931
fd44df5e3bc3
parent 9987
a025f6d9e6e8
equal deleted inserted replaced
9934:2251ba078bec 10015:eb7ce841ccec
523 JVMWrapper("JVM_ActiveProcessorCount"); 523 JVMWrapper("JVM_ActiveProcessorCount");
524 return os::active_processor_count(); 524 return os::active_processor_count();
525 JVM_END 525 JVM_END
526 526
527 527
528 JVM_ENTRY_NO_ENV(jboolean, JVM_IsUseContainerSupport(void))
529 JVMWrapper("JVM_IsUseContainerSupport");
530 #ifdef TARGET_OS_FAMILY_linux
531 if (UseContainerSupport) {
532 return JNI_TRUE;
533 }
534 #endif
535 return JNI_FALSE;
536 JVM_END
537
538
528 539
529 // java.lang.Throwable ////////////////////////////////////////////////////// 540 // java.lang.Throwable //////////////////////////////////////////////////////
530 541
531 542
532 JVM_ENTRY(void, JVM_FillInStackTrace(JNIEnv *env, jobject receiver)) 543 JVM_ENTRY(void, JVM_FillInStackTrace(JNIEnv *env, jobject receiver))

mercurial