- 
    
Enhancement
 - 
    Resolution: Fixed
 - 
    
  P4                     
     - 
    8-shenandoah, 11.0.9, 15, 16
 
- 
        b04
 
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8263278 | 16.0.2 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 | 
| JDK-8262865 | 16.0.1 | Aleksey Shipilev | P4 | Resolved | Fixed | b08 | 
| JDK-8261312 | 11.0.11 | Aleksey Shipilev | P4 | Resolved | Fixed | b02 | 
diff -r 17f81aac4167 test/hotspot/jtreg/compiler/gcbarriers/UnsafeIntrinsicsTest.java
--- a/test/hotspot/jtreg/compiler/gcbarriers/UnsafeIntrinsicsTest.java Tue Aug 18 12:46:33 2020 +0200
+++ b/test/hotspot/jtreg/compiler/gcbarriers/UnsafeIntrinsicsTest.java Tue Aug 18 14:09:41 2020 +0200
@@ -30,10 +30,21 @@
* @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
*/
+/*
+ * @test
+ * @key randomness
+ * @bug 8059022
+ * @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:+ShenandoahVerifyOptoBarriers -XX:CompileCommand=dontinline,*::mergeImpl* compiler.gcbarriers.UnsafeIntrinsicsTest
+ */
+
package compiler.gcbarriers;
import java.lang.reflect.Field;
import java.util.ArrayList;
import java.util.Random;
There used to be failures in code like this, fixed in
- backported by
 - 
                    
JDK-8261312 Add Shenandoah test config to compiler/gcbarriers/UnsafeIntrinsicsTest.java
-         
     - Resolved
 
 -         
 - 
                    
JDK-8262865 Add Shenandoah test config to compiler/gcbarriers/UnsafeIntrinsicsTest.java
-         
     - Resolved
 
 -         
 - 
                    
JDK-8263278 Add Shenandoah test config to compiler/gcbarriers/UnsafeIntrinsicsTest.java
-         
     - Resolved
 
 -         
 
- relates to
 - 
                    
JDK-8255401 Shenandoah: Allow oldval and newval registers to overlap in cmpxchg_oop()
-         
     - Resolved
 
 -         
 
- links to
 - 
                    
        
        Commit
        openjdk/jdk16u/09855d7d
    
 - 
                    
        
        Commit
        openjdk/jdk/db6f3930
    
 - 
                    
        
        Review
        openjdk/jdk16u/50
    
 - 
                    
        
        Review
        openjdk/jdk/1693