-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 25, 26, repo-lilliput-17, repo-lilliput-21
-
Component/s: hotspot
-
b06
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8372768 | 25.0.3 | Paul Hohensee | P4 | Resolved | Fixed | master |
Found while analyzing JDK-8361342:
`ShenandoahAsserts::print_obj()` does not work for COH if the object is forwarded, since the mark word is overwritten with forwarding pointer.
Depending on the size of the numerical address of the forwardee nKlass either appears to be zero, resulting in "assert(!is_null(v)) failed: narrow klass value can never be zero", or some garbage value if it overlaps with the nKlass bits, in which case we get a SIGSEGV.
`ShenandoahAsserts::print_obj()` does not work for COH if the object is forwarded, since the mark word is overwritten with forwarding pointer.
Depending on the size of the numerical address of the forwardee nKlass either appears to be zero, resulting in "assert(!is_null(v)) failed: narrow klass value can never be zero", or some garbage value if it overlaps with the nKlass bits, in which case we get a SIGSEGV.
- backported by
-
JDK-8372768 ShenandoahAsserts::print_obj() does not work for forwarded objects and UseCompactObjectHeaders
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk25u-dev/2121b3b5
-
Commit(master)
openjdk/jdk/fe264676
-
Review(master)
openjdk/jdk25u-dev/28
-
Review(master)
openjdk/jdk/26117