Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8229470

Shenandoah: Fix C1 getAndSetObject() failure

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      generic

      Description

      JDK-8228369 broke C1's getAndSetObject() intrinsic with Shenandoah:

      # Internal Error (/home/shade/trunks/jdk-jdk/src/hotspot/share/c1/c1_LIRGenerator.hpp:224), pid=20194, tid=20205
      # assert(!opr->is_register() || opr->is_virtual()) failed: should never set result to a physical register

       V [libjvm.so+0x78417e] LIRGenerator::set_result(Instruction*, LIR_OprDesc*)+0x12e
      V [libjvm.so+0x782a67] LIRGenerator::do_UnsafeGetAndSetObject(UnsafeGetAndSetObject*)+0xe7
      V [libjvm.so+0x76b043] LIRGenerator::do_root(Instruction*)+0x93

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rkennke Roman Kennke
                Reporter:
                rkennke Roman Kennke
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: