[jdk11u-dev] RFR: 8271490: [ppc] [s390]: Crash in JavaThread::pd_get_top_frame_for_profiling

Lutz Schmidt lucy at openjdk.java.net
Mon Sep 13 10:57:11 UTC 2021


Please review this backport PR.

The original change did not apply cleanly for three minor reasons (frame_ppc.cpp and frame_s390.cpp):
 - The stack range check function is_in_stack_range_excl() does not exist in jdk11. Explicit code used instead.
 - Some rephrased comment.
 - Reusing a boolean value instead of recalculating it.

Crashes attributable to code fixed with this patch are observed in jdk11 jfr tests.

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

Commit messages:
 - Backport 276b07b36af01d339e48baada7a512451fe34afe

Changes: https://git.openjdk.java.net/jdk11u-dev/pull/333/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk11u-dev&pr=333&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8271490
  Stats: 109 lines in 4 files changed: 76 ins; 14 del; 19 mod
  Patch: https://git.openjdk.java.net/jdk11u-dev/pull/333.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk11u-dev pull/333/head:pull/333

PR: https://git.openjdk.java.net/jdk11u-dev/pull/333


More information about the jdk-updates-dev mailing list