8012972: Incremental Inlining should support scalar replaced object in debug info

Store in _first_index not absolute index but an index relative to the last (youngest) jvms->_scloff value

Reviewed-by: roland, twisti
This commit is contained in:
Vladimir Kozlov 2013-08-23 11:41:37 -07:00
parent 6549fc2f25
commit ccfb92c6a9
8 changed files with 53 additions and 27 deletions

View file

@ -61,6 +61,7 @@ void GraphKit::gen_stub(address C_function,
JVMState* jvms = new (C) JVMState(0);
jvms->set_bci(InvocationEntryBci);
jvms->set_monoff(max_map);
jvms->set_scloff(max_map);
jvms->set_endoff(max_map);
{
SafePointNode *map = new (C) SafePointNode( max_map, jvms );