7144405: JumbleGC002 assert(m->offset() == pc_offset) failed: oopmap not found

Oop map needs pc stored in frame anchor in StubGenerator::generate_throw_exception()

Reviewed-by: twisti, never, kvn
This commit is contained in:
Roland Westrelin 2012-02-14 09:43:25 +01:00
parent df753a2942
commit e7ece2a742

View File

@ -2997,7 +2997,7 @@ class StubGenerator: public StubCodeGenerator {
// Generate oop map
OopMap* map = new OopMap(framesize, 0);
oop_maps->add_gc_map(__ pc() - start, map);
oop_maps->add_gc_map(the_pc - start, map);
__ reset_last_Java_frame(true, true);