United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7160613 VerifyRememberedSets doesn't work with CompressedOops
JDK-7160613 : VerifyRememberedSets doesn't work with CompressedOops

Details
Type:
Bug
Submit Date:
2012-04-11
Status:
Closed
Updated Date:
2013-05-31
Project Name:
JDK
Resolved Date:
2012-04-25
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P5
Resolution:
Fixed
Affected Versions:
hs24
Fixed Versions:
hs24 (b08)

Related Reports
Backport:
Backport:

Sub Tasks

Description
Running with -XX:+VerifyRememberedSets fails when running with CompressedOops:

Internal Error at oop.inline.hpp:209, pid=16818, tid=139806045280000
assert(!is_null(v)) failed: narrow oop value can never be zero

                                    

Comments
EVALUATION

--- old/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp	2012-04-11 16:19:21.000000000 +0200
+++ new/src/share/vm/gc_implementation/parallelScavenge/cardTableExtension.cpp	2012-04-11 16:19:20.000000000 +0200
@@ -42,7 +42,7 @@
 
  protected:
   template <class T> void do_oop_work(T* p) {
-    oop obj = oopDesc::load_decode_heap_oop_not_null(p);
+    oop obj = oopDesc::load_decode_heap_oop(p);
     if (_young_gen->is_in_reserved(obj) &&
         !_card_table->addr_is_marked_imprecise(p)) {
       // Don't overwrite the first missing card mark
                                     
2012-04-11
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/dde53abda3d6
                                     
2012-04-17
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/dde53abda3d6
                                     
2012-06-29
Vefied by Mikael Gerdin HS24b08/JDK8b36
                                     
2013-05-31



Hardware and Software, Engineered to Work Together