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

Move embedded external addresses from relocation info into separate global table

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 24
    • hotspot
    • b04

      Currently we have oops and metadata data sections in nmethod which are referenced by index from relocation info. That data can be patched by VM when they are changed.
      External addresses usually embedded into relocation info data because they don't need to be patched during normal execution. But for Leyden we need to patch them when we load AOT code and related data because external addresses are different.
      I suggest to move external data into new nmethod's data sections to make relocation info immutable even for Leyden.
      I also want to experiment with moving relocation info from CodeCache into nmethod's immutable data section. But it depends on performance results.

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

              Created:
              Updated:
              Resolved: