changeset 3443:b522995d91f0

7144405: JumbleGC002 assert(m->offset() == pc_offset) failed: oopmap not found Summary: oop map needs pc stored in frame anchor in StubGenerator::generate_throw_exception() Reviewed-by: twisti, never, kvn
author roland
date Tue, 14 Feb 2012 09:43:25 +0100
parents f09ae3853e3b
children 8f4eb44b3b76
files src/cpu/x86/vm/stubGenerator_x86_64.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Mon Feb 13 04:30:59 2012 -0800
+++ b/src/cpu/x86/vm/stubGenerator_x86_64.cpp	Tue Feb 14 09:43:25 2012 +0100
@@ -2997,7 +2997,7 @@
     // 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);