Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8290004: [PPC64] JfrGetCallTrace: assert(_pc != nullptr) failed: must…
… have PC

Reviewed-by: lucy, clanger
Backport-of: cb6e9cb7286f609dec1fe1157bf95afc503870a9
  • Loading branch information
TheRealMDoerr committed Jul 14, 2022
1 parent a8e7d8f commit ccc4732
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/hotspot/os_cpu/aix_ppc/thread_aix_ppc.cpp
Expand Up @@ -30,7 +30,7 @@
frame JavaThread::pd_last_frame() {
assert(has_last_Java_frame(), "must have last_Java_sp() when suspended");

intptr_t* sp = last_Java_sp();
intptr_t* sp = Atomic::load_acquire(&_anchor._last_Java_sp);
address pc = _anchor.last_Java_pc();

// Last_Java_pc ist not set, if we come here from compiled code.
Expand Down
2 changes: 1 addition & 1 deletion src/hotspot/os_cpu/linux_ppc/thread_linux_ppc.cpp
Expand Up @@ -31,7 +31,7 @@
frame JavaThread::pd_last_frame() {
assert(has_last_Java_frame(), "must have last_Java_sp() when suspended");

intptr_t* sp = last_Java_sp();
intptr_t* sp = Atomic::load_acquire(&_anchor._last_Java_sp);
address pc = _anchor.last_Java_pc();

// Last_Java_pc ist not set, if we come here from compiled code.
Expand Down

3 comments on commit ccc4732

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheRealMDoerr
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk11u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on ccc4732 Jul 14, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TheRealMDoerr the backport was successfully created on the branch TheRealMDoerr-backport-ccc4732e in my personal fork of openjdk/jdk11u-dev. To create a pull request with this backport targeting openjdk/jdk11u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit ccc4732e from the openjdk/jdk17u-dev repository.

The commit being backported was authored by Martin Doerr on 14 Jul 2022 and was reviewed by Lutz Schmidt and Christoph Langer.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk11u-dev:

$ git fetch https://github.com/openjdk-bots/jdk11u-dev TheRealMDoerr-backport-ccc4732e:TheRealMDoerr-backport-ccc4732e
$ git checkout TheRealMDoerr-backport-ccc4732e
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk11u-dev TheRealMDoerr-backport-ccc4732e

Please sign in to comment.