RFR(xs): 8202669: Intermittent crash in ClassLoadingService::compute_class_size()

Markus Gronlund markus.gronlund at oracle.com
Sat May 12 04:51:04 UTC 2018

Hi Calvin,

Could you please attempt to provide some explanation as to why this manifested as a consequence of JDK-8200466?

The state in the core/.mdmp indicate the class to be corrupt / not yet initialized at all.

On what invariant do we expect to be able to determine the size() of a klass if it is in a corrupt / not yet initialized state?

I suspect there is a deeper issue here, did some unloading behavior change recently?


Sent from my iPhone

> On 12 May 2018, at 00:20, Calvin Cheung <calvin.cheung at oracle.com> wrote:
> bug: https://bugs.openjdk.java.net/browse/JDK-8202669
> webrev: http://cr.openjdk.java.net/~ccheung/8202669/webrev.00/
> This bug surfaced after the change for JDK-8200466.
> The proposed change is simply null checking the _transitive_interfaces before accessing its size().
> I ran the affected tests with the change 30 times on Oracle platforms and didn't see any failures.
> thanks,
> Calvin

More information about the hotspot-runtime-dev mailing list