8386586: [s390x] TestSyncOnValueBasedClassEvent.java fails due to incorrect branch#31497
8386586: [s390x] TestSyncOnValueBasedClassEvent.java fails due to incorrect branch#31497offamitkumar wants to merge 1 commit into
Conversation
|
👋 Welcome back amitkumar! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
@offamitkumar The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
|
The total number of required reviews for this PR has been set to 2 based on the presence of this label: |
Depends on:
This test case was mistakenly marked as "related to loom" and disabled on s390x.
Explanation:
What we WANT: Jump to slow path when the value-based class bit IS SET (bit = 1)
What TM instruction does when testing a single bit:
Branch conditions:
The problem:
When the bit IS SET (value-based class detected):
Failure:
java.lang.RuntimeException: No events: expected false, was true
at jdk.test.lib.Asserts.fail(Asserts.java:715)
at jdk.test.lib.Asserts.assertFalse(Asserts.java:520)
at jdk.test.lib.jfr.Events.hasEvents(Events.java:160)
at jdk.jfr.event.runtime.TestSyncOnValueBasedClassEvent.main(TestSyncOnValueBasedClassEvent.java:79)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:583)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1527)
with the change:
Progress
Issue
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/31497/head:pull/31497$ git checkout pull/31497Update a local copy of the PR:
$ git checkout pull/31497$ git pull https://git.openjdk.org/jdk.git pull/31497/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 31497View PR using the GUI difftool:
$ git pr show -t 31497Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/31497.diff
Using Webrev
Link to Webrev Comment