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

ZGC: Put C2 load barrier stub routines in separate codeblobs

    Details

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

      Description

      Putting C2 load barrier stub routines in separate blobs make the labels in print assembly show the type of the barrier. This simplifies debugging.

      A load barrier slow path (that delegates to the stub routine) will have a stub name that reveals the barrier type, like this:

        0x00007f8fb91b4b58: lea 0x10(%r9),%r11
        0x00007f8fb91b4b5c: callq 0x00007f8fb9009a60 ; {runtime_call zgc_load_barrier_weak_stubs}
        0x00007f8fb91b4b61: jmpq 0x00007f8fb91b4a23

        Attachments

          Activity

            People

            • Assignee:
              neliasso Nils Eliasson
              Reporter:
              neliasso Nils Eliasson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: