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

Do not collect C strings in C2 scratch buffer

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • 25
    • hotspot
    • master

      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

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

              Created:
              Updated:
              Resolved: