summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jvm/jvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jvm/jvm.h b/src/jvm/jvm.h
index 0de88d2..e2f99e4 100644
--- a/src/jvm/jvm.h
+++ b/src/jvm/jvm.h
@@ -54,7 +54,7 @@ struct jvm {
// every class object's `this_class` member points back to [0], causing recursion.
// Every other object or class definition is created lazily as needed, only [0] is special.
// `jobject`'s we return through JNI are actually (index+1) to this array, not pointers.
- struct jvm_object objects[256];
+ struct jvm_object objects[4096];
// Native methods registered by the application.
// Nothing special, but there's no need to access this array either really.