Skip to content
Permalink
Browse files
8251944: Add Shenandoah test config to compiler/gcbarriers/UnsafeIntr…
…insicsTest.java

Reviewed-by: rkennke, adityam
  • Loading branch information
shipilev committed Jan 5, 2021
1 parent 3817c32 commit db6f39302b972a468452e2c2b7200039b2c23556
Showing 1 changed file with 24 additions and 2 deletions.
@@ -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;

1 comment on commit db6f393

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on db6f393 Jan 5, 2021

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.