Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.
/ jdk16u Public archive

Commit

Permalink
8251944: Add Shenandoah test config to compiler/gcbarriers/UnsafeIntr…
Browse files Browse the repository at this point in the history
…insicsTest.java

Backport-of: db6f39302b972a468452e2c2b7200039b2c23556
  • Loading branch information
shipilev committed Mar 2, 2021
1 parent 101e742 commit 09855d7
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions test/hotspot/jtreg/compiler/gcbarriers/UnsafeIntrinsicsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,36 @@
*/

/*
* @test
* @test id=z
* @key randomness
* @bug 8059022
* @modules java.base/jdk.internal.misc:+open
* @summary Validate barriers after Unsafe getReference, CAS and swap (GetAndSet)
* @requires vm.gc.Z
* @library /test/lib
* @run main/othervm -XX:+UseZGC -XX:+UnlockDiagnosticVMOptions -XX:+ZVerifyViews -XX:ZCollectionInterval=1 -XX:-CreateCoredumpOnCrash -XX:CompileCommand=dontinline,*::mergeImpl* compiler.gcbarriers.UnsafeIntrinsicsTest
* @run main/othervm -XX:+UseZGC
* -XX:+UnlockDiagnosticVMOptions
* -XX:+ZVerifyViews -XX:ZCollectionInterval=1
* -XX:-CreateCoredumpOnCrash
* -XX:CompileCommand=dontinline,*::mergeImpl*
* compiler.gcbarriers.UnsafeIntrinsicsTest
*/

/*
* @test id=shenandoah
* @key randomness
* @bug 8255401 8251944
* @modules java.base/jdk.internal.misc:+open
* @summary Validate barriers after Unsafe getReference, CAS and swap (GetAndSet)
* @requires vm.gc.Shenandoah
* @library /test/lib
* @run main/othervm -XX:+UseShenandoahGC
* -XX:+UnlockDiagnosticVMOptions
* -XX:-CreateCoredumpOnCrash
* -XX:+ShenandoahVerify
* -XX:+IgnoreUnrecognizedVMOptions -XX:+ShenandoahVerifyOptoBarriers
* -XX:CompileCommand=dontinline,*::mergeImpl*
* compiler.gcbarriers.UnsafeIntrinsicsTest
*/

package compiler.gcbarriers;
Expand Down

1 comment on commit 09855d7

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.