From e7ece2a7428c0b4676f7c58797b9225e629d1633 Mon Sep 17 00:00:00 2001 From: Roland Westrelin Date: Tue, 14 Feb 2012 09:43:25 +0100 Subject: [PATCH] 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 --- hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp b/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp index 4baaf0e313f..d68bdac6db8 100644 --- a/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp +++ b/hotspot/src/cpu/x86/vm/stubGenerator_x86_64.cpp @@ -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);