JDK-8222129 : Shenandoah: Missing CompareAndSwapP/N case in get_barrier_strength()
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8-shenandoah,11-shenandoah,13
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2019-04-08
  • Updated: 2019-05-22
  • Resolved: 2019-04-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 13
13 b16Fixed
Related Reports
Blocks :  
Description
Missing case CompareAndSwapN/P in get_barrier_strength() trips as assert in shenadoahSupport.cpp. This is non-fatal for release builds.

Unknown node in get_barrier_strength:
 23     ConP    ===  0  [[ 24  84  92  111  141  456  606  456  175  175  226  233  251  141  449 ]]  #NULL
 350    CheckCastPP     ===  801  762  [[ 626  606  456  631 ]]  #java/util/concurrent/ConcurrentHashMap:NotNull:exact *  Oop:java/util/concurrent/ConcurrentHashMap:NotNull:exact * !jvms: AttributesMap::ensureMap @ bci:11 AttributesMap::setAttribute @ bci:13
 593    AddP    === _  461  461  73  [[ 606 ]]   Oop:java/util/concurrent/atomic/AtomicReference:NotNull+16 * !jvms: VarHandleReferences$FieldInstanceReadWrite::compareAndSet @ bci:34 VarHandleGuards::guard_LLL_Z @ bci:37 AtomicReference::compareAndSet @ bci:6 AttributesMap::ensureMap @ bci:25 AttributesMap::setAttribute @ bci:13
 600    Proj    ===  598  [[ 606  604 ]] #2  Memory: @BotPTR *+bot, idx=Bot; !jvms: VarHandleReferences$FieldInstanceReadWrite::compareAndSet @ bci:34 VarHandleGuards::guard_LLL_Z @ bci:37 AtomicReference::compareAndSet @ bci:6 AttributesMap::ensureMap @ bci:25 AttributesMap::setAttribute @ bci:13
 599    Proj    ===  598  [[ 608  606 ]] #0 !jvms: VarHandleReferences$FieldInstanceReadWrite::compareAndSet @ bci:34 VarHandleGuards::guard_LLL_Z @ bci:37 AtomicReference::compareAndSet @ bci:6 AttributesMap::ensureMap @ bci:25 AttributesMap::setAttribute @ bci:13
 606    CompareAndSwapP ===  599  600  593  350  23  [[ 607  612  619  626 ]]  !jvms: VarHandleReferences$FieldInstanceReadWrite::compareAndSet @ bci:34 VarHandleGuards::guard_LLL_Z @ bci:37 AtomicReference::compareAndSet @ bci:6 AttributesMap::ensureMap @ bci:25 AttributesMap::setAttribute @ bci:13
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/shenandoahSupport.cpp:3246
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (/home/buildbot/worker/jdkX-linux/build/src/hotspot/share/gc/shenandoah/c2/shenandoahSupport.cpp:3246), pid=25995, tid=26130
#  Error: ShouldNotReachHere()