Skip to content

Commit

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

Reviewed-by: rkennke, adityam
  • Loading branch information
shipilev committed Jan 5, 2021
1 parent 3817c32 commit db6f393
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 db6f393

@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.