Do not collect C strings in C2 scratch buffer

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 25
    • Affects Version/s: 25
    • Component/s: hotspot
    • b21

      JDK-8349479 added call to `code_string()` for Halt node mach node.
      I am observing several creation and clearing C strings collections during C2 compilation:
      [17.405s][debug][codestrings] Clear 2 asm-remarks.
      [17.405s][debug][codestrings] Clear 1 dbg-string.

      Most are coming from temporary buffer C2 uses for code size calculation.

      I suggest to not collect strings in this buffer

            Assignee:
            Vladimir Kozlov
            Reporter:
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: