Skip to content
Browse files
8261354: SIGSEGV at MethodIteratorHost
Reviewed-by: mgronlun
  • Loading branch information
Jaroslav Bachorik committed May 22, 2021
1 parent 72c9567 commit 24623167ffbf8e192ef539fd0a969412719f850c
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/hotspot/share/jfr/recorder/checkpoint/types/jfrTypeSet.cpp
@@ -863,12 +863,11 @@ class MethodIteratorHost {
bool operator()(KlassPtr klass) {
if (_method_used_predicate(klass)) {
const InstanceKlass* ik = InstanceKlass::cast(klass);
const int len = ik->methods()->length();
Filter filter(ik->previous_versions() != NULL ? len : 0);
while (ik != NULL) {
const int len = ik->methods()->length();
for (int i = 0; i < len; ++i) {
MethodPtr method = ik->methods()->at(i);
if (_method_flag_predicate(method) && filter(i)) {
if (_method_flag_predicate(method)) {

3 comments on commit 2462316


This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot replied May 22, 2021


This comment has been minimized.

Copy link

@RealCLanger RealCLanger replied May 23, 2021

/backport jdk16u


This comment has been minimized.

Copy link

@openjdk openjdk bot replied May 23, 2021

@RealCLanger the backport was successfully created on the branch RealCLanger-backport-24623167 in my personal fork of openjdk/jdk16u. To create a pull request with this backport targeting openjdk/jdk16u: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 24623167 from the openjdk/jdk repository.

The commit being backported was authored by Jaroslav Bachorik on 22 May 2021 and was reviewed by Markus Grönlund.


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/jdk16u:

$ git fetch RealCLanger-backport-24623167:RealCLanger-backport-24623167
$ git checkout RealCLanger-backport-24623167
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push RealCLanger-backport-24623167
Please sign in to comment.