Integrated: 8373411: Crash when PrintSharedArchiveAndExit is enabled but shared heap is disabled

Stefan Karlsson stefank at openjdk.org
Fri Dec 12 14:06:39 UTC 2025


On Wed, 10 Dec 2025 10:33:04 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Found this while poking around at Valhalla that turned off heap sharing. The fix is simple, there's a missing HeapShared::is_loading() check that we missed when refactoring the object streaming code.

This pull request has now been integrated.

Changeset: d854a042
Author:    Stefan Karlsson <stefank at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d854a04231a437a6af36ae65780961f40f336343
Stats:     45 lines in 2 files changed: 44 ins; 0 del; 1 mod

8373411: Crash when PrintSharedArchiveAndExit is enabled but shared heap is disabled

Reviewed-by: shade, iklam

-------------

PR: https://git.openjdk.org/jdk/pull/28741


More information about the hotspot-runtime-dev mailing list