Skip to content

Commit 91ce41f

Browse files
author
SendaoYan
committedMar 4, 2025
8276995: Bug in jdk.jfr.event.gc.collection.TestSystemGC
Backport-of: e80b76b663c6b82a353665fd68819cc9295ec429
1 parent cc039a5 commit 91ce41f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎test/jdk/jdk/jfr/event/gc/collection/TestSystemGC.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ public static void main(String[] args) throws Exception {
6666
RecordedEvent event2 = events.get(1);
6767
Events.assertFrame(event2, Runtime.class, "gc");
6868
Events.assertEventThread(event2, Thread.currentThread());
69-
Events.assertField(event1, "invokedConcurrent").isEqual(concurrent);
69+
Events.assertField(event2, "invokedConcurrent").isEqual(concurrent);
7070

7171
RecordedEvent event3 = events.get(2);
7272
// MemoryMXBean.class is an interface so can't assertFrame on it
7373
Events.assertEventThread(event3, Thread.currentThread());
74-
Events.assertField(event1, "invokedConcurrent").isEqual(concurrent);
74+
Events.assertField(event3, "invokedConcurrent").isEqual(concurrent);
7575
}
7676
}
7777
}

5 commit comments

Comments
 (5)

sendaoYan commented on Mar 4, 2025

@sendaoYan
Member

/backport jdk21u-dev

sendaoYan commented on Mar 4, 2025

@sendaoYan
Member

/backport jdk17u-dev

openjdk-notifier[bot] commented on Mar 4, 2025

@openjdk-notifier[bot]

openjdk[bot] commented on Mar 4, 2025

@openjdk[bot]

@sendaoYan the backport was successfully created on the branch backport-sendaoYan-91ce41f9-master in my personal fork of openjdk/jdk21u-dev. To create a pull request with this backport targeting openjdk/jdk21u-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 91ce41f9 from the openjdk/jdk24u repository.

The commit being backported was authored by SendaoYan on 4 Mar 2025 and had no reviewers.

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/jdk21u-dev:

$ git fetch https://github.com/openjdk-bots/jdk21u-dev.git backport-sendaoYan-91ce41f9-master:backport-sendaoYan-91ce41f9-master
$ git checkout backport-sendaoYan-91ce41f9-master
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk21u-dev.git backport-sendaoYan-91ce41f9-master

openjdk[bot] commented on Mar 4, 2025

@openjdk[bot]

@sendaoYan the backport was successfully created on the branch backport-sendaoYan-91ce41f9-master in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-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 91ce41f9 from the openjdk/jdk24u repository.

The commit being backported was authored by SendaoYan on 4 Mar 2025 and had no reviewers.

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/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev.git backport-sendaoYan-91ce41f9-master:backport-sendaoYan-91ce41f9-master
$ git checkout backport-sendaoYan-91ce41f9-master
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev.git backport-sendaoYan-91ce41f9-master
Please sign in to comment.