Skip to content

Commit

Permalink
Add JVM_IsUseContainerSupport. Set to FALSE for now. Might be able to…
Browse files Browse the repository at this point in the history
… enable later.
  • Loading branch information
wasabii committed Jun 19, 2024
1 parent fbda0f9 commit 2ac2125
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/libjvm/jvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,16 @@ jint JNICALL JVM_GetLastErrorString(char* buf, int len)
return (jint)os_lasterror(buf, len);
}

jint JNICALL JVM_ActiveProcessorCount() {
jint JNICALL JVM_ActiveProcessorCount()
{
return jvmii->JVM_ActiveProcessorCount();
}

jboolean JNICALL JVM_IsUseContainerSupport()
{
return JNI_FALSE;
}

jclass JNICALL JVM_FindClassFromClass(JNIEnv* env, const char* name, jboolean init, jclass from)
{
JVM_ThrowException("java/lang/InternalError", "Unsupported JVM method: JVM_FindClassFromClass");
Expand Down

0 comments on commit 2ac2125

Please sign in to comment.