[8u] RFR (XS) 8269859: BacktraceBuilder._cprefs needs to be accessed as unsigned short

Hohensee, Paul hohensee at amazon.com
Fri Aug 6 17:46:07 UTC 2021


Lgtm.

Thanks,
Paul

-----Original Message-----
From: jdk8u-dev <jdk8u-dev-retn at openjdk.java.net> on behalf of Aleksey Shipilev <shade at redhat.com>
Date: Monday, July 5, 2021 at 11:14 AM
To: "jdk8u-dev at openjdk.java.net" <jdk8u-dev at openjdk.java.net>
Subject: [8u] RFR (XS) 8269859: BacktraceBuilder._cprefs needs to be accessed as unsigned short

Bug:
   https://bugs.openjdk.java.net/browse/JDK-8269859

This is a 8u-specific bug that I found with source code inspection while working on a related
backport. With unmodified JDK, it is hard to reproduce, because it involves large class that
undergoes redefinition. Yet, with a simple VM change, you can reproduce the assert 100% reliably.

See the bug report for more details.

8u webrev:
   https://cr.openjdk.java.net/~shade/8269859/webrev.8u.01/

Testing: test from 8194246 with/without the fix, with/without the cpref-exposing patch; tier1
with/without the cpref-exposing patch.

--
Thanks,
-Aleksey




More information about the jdk8u-dev mailing list