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

EA does not work with G1 after JDK-8242115

XMLWordPrintable

      In the next test case all allocations are eliminated with Iterative EA with Parallel GC but failed with G1:

      NotScalar (Field load) 42 CheckCastPP === 39 37 [[ 423 295 295 167 167 180 90 90 ]] Oop:TestEA$B:NotNull:exact *,iid=25 !jvms: TestEA::test @ bci:0 (line 12)
        >>>> 379 LoadN === 374 169 167 [[ 380 ]] @TestEA$B:BotPTR+12 * [narrow], name=a, idx=6; (does not depend only on test, pinned) Type:narrowoop: TestEA$A:BotPTR * !jvms: TestEA::test @ bci:37 (line 15)
      NotScalar (Field load) 42 CheckCastPP === 39 37 [[ 423 295 295 167 167 180 90 90 ]] Oop:TestEA$B:NotNull:exact *,iid=25 !jvms: TestEA::test @ bci:0 (line 12)
        >>>> 379 LoadN === 374 169 167 [[ 380 ]] @TestEA$B:BotPTR+12 * [narrow], name=a, idx=6; (does not depend only on test, pinned) Type:narrowoop: TestEA$A:BotPTR * !jvms: TestEA::test @ bci:37 (line 15)

      LocalVar(39) NoEscape(NoEscape) -> ArgEscape(NoEscape) escapes as arg to: 402 CallLeaf === 393 1 310 1 1 (380 171 ) [[ 403 404 ]] # write_ref_field_pre_entry void ( java/lang/Object:NotNull *, rawptr:NotNull ) Type:{0:control, 1:abIO, 2:memory, 3:rawptr:BotPTR, 4:return_address} !jvms: TestEA::test @ bci:37 (line 15)

        1. TestEA.java
          0.5 kB
          Vladimir Kozlov

            iveresov Igor Veresov
            kvn Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: