[jdk17u-dev] RFR: 8265919: RunThese30M fails "assert((!(((((JfrTraceIdBits::load(value)) & ((1 << 4) << 8)) != 0))))) failed: invariant"

Rinku Kumar Maurya duke at openjdk.org
Tue May 28 15:24:29 UTC 2024


clean backport to remove assertion which assumes artifact is not serialized and only `JfrRecorderThread` can perform serialization of artifacts marked during the window between rotate() and end_recording(), which is not true because a GC thread during unloading process will serialize (in-memory checkpoint entry) the class loaders associated with the unloaded classes. We should remove this assertion and let the code fall through and explicitly clear the serialize and transient meta bits.

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

Commit messages:
 - Backport ffa34ed429079827c9b0acb843288fde4b7fa53d

Changes: https://git.openjdk.org/jdk17u-dev/pull/2504/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2504&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8265919
  Stats: 2 lines in 1 file changed: 0 ins; 2 del; 0 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/2504.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2504/head:pull/2504

PR: https://git.openjdk.org/jdk17u-dev/pull/2504


More information about the jdk-updates-dev mailing list