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

ZGC: Put C2 load barrier stub routines in separate codeblobs

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 13
    • hotspot
    • 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

            neliasso Nils Eliasson (Inactive)
            neliasso Nils Eliasson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: