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

[TESTBUG] compiler/whitebox/ForceNMethodSweepTest should not assume asserts are benign

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b120

      Description

      compiler/whitebox/ForceNMethodSweepTest would fail if you juggle Indify String Concat strategies, because some of them are loading new methods and use them during String concat linkage and execution. Notably, this will happen inside of the asserts. We need to prime the asserts before using them in-between counter polls.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: