Integrated: 8302795: Shared archive failed on old version class with jsr bytecode
Calvin Cheung
ccheung at openjdk.org
Tue Mar 14 17:19:39 UTC 2023
On Fri, 24 Feb 2023 23:28:14 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> Please review this simple fix for avoid writing in to CDS archive during runtime while loading a shared old class (major_version < 50) with methods containg the jsr byte code.
> Otherwise, JVM crashes with the following message in the hs err log:
> `Error accessing class data sharing archive. Mapped file inaccessible during execution, possible disk/network problem.`
>
> Passed tiers 1 - 4 testing.
This pull request has now been integrated.
Changeset: 830fd413
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/830fd413461709a494bcb81952e5c32088676ee3
Stats: 158 lines in 4 files changed: 157 ins; 0 del; 1 mod
8302795: Shared archive failed on old version class with jsr bytecode
Reviewed-by: minqi, matsaave
-------------
PR: https://git.openjdk.org/jdk/pull/12752
More information about the hotspot-runtime-dev
mailing list