# HG changeset patch # User Thomas Wuerthinger # Date 1314980925 -7200 # Node ID 76a7f1732bb086ae029364abeb9e20b04da41e3b # Parent f79b652d4437c32c46e1f75b5de5a150b5dea260 New runtime parameter: runtimeCallStackSize (size on the stack that must be left empty in case of runtime calls) diff -r f79b652d4437 -r 76a7f1732bb0 src/share/vm/graal/graalVMEntries.cpp --- a/src/share/vm/graal/graalVMEntries.cpp Thu Sep 01 09:38:36 2011 +0200 +++ b/src/share/vm/graal/graalVMEntries.cpp Fri Sep 02 18:28:45 2011 +0200 @@ -870,6 +870,7 @@ set_long(env, config, "fastMonitorEnterStub", VmIds::addStub(Runtime1::entry_for(Runtime1::graal_monitorenter_id))); set_long(env, config, "fastMonitorExitStub", VmIds::addStub(Runtime1::entry_for(Runtime1::graal_monitorexit_id))); set_long(env, config, "safepointPollingAddress", (jlong)(os::get_polling_page() + (SafepointPollOffset % os::vm_page_size()))); + set_int(env, config, "runtimeCallStackSize", (jint)frame::arg_reg_save_area_bytes); set_boolean(env, config, "isPollingPageFar", Assembler::is_polling_page_far()); BarrierSet* bs = Universe::heap()->barrier_set();