Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 20324:8ae0d26ab728
8046919: jni_PushLocalFrame OOM - increase MAX_REASONABLE_LOCAL_CAPACITY
Summary: Increase the previous limit from 4k to 64k, added "-XX:MaxJNILocalCapacity=<capacity>" flag
Reviewed-by: hseigel, fparain
author | dsimms |
---|---|
date | Thu, 14 Aug 2014 10:56:34 +0200 |
parents | ee019285a52c |
children | da00a41842a5 |
comparison
equal
deleted
inserted
replaced
20323:5c8178d7dd35 | 20324:8ae0d26ab728 |
---|---|
1214 "Verify all arguments to JNI calls") \ | 1214 "Verify all arguments to JNI calls") \ |
1215 \ | 1215 \ |
1216 product(bool, UseFastJNIAccessors, true, \ | 1216 product(bool, UseFastJNIAccessors, true, \ |
1217 "Use optimized versions of Get<Primitive>Field") \ | 1217 "Use optimized versions of Get<Primitive>Field") \ |
1218 \ | 1218 \ |
1219 product(intx, MaxJNILocalCapacity, 65536, \ | |
1220 "Maximum allowable local JNI handle capacity to " \ | |
1221 "EnsureLocalCapacity() and PushLocalFrame(), " \ | |
1222 "where <= 0 is unlimited, default: 65536") \ | |
1223 \ | |
1219 product(bool, EagerXrunInit, false, \ | 1224 product(bool, EagerXrunInit, false, \ |
1220 "Eagerly initialize -Xrun libraries; allows startup profiling, " \ | 1225 "Eagerly initialize -Xrun libraries; allows startup profiling, " \ |
1221 "but not all -Xrun libraries may support the state of the VM " \ | 1226 "but not all -Xrun libraries may support the state of the VM " \ |
1222 "at this time") \ | 1227 "at this time") \ |
1223 \ | 1228 \ |