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

[Leyden] Use AOTRuntimeConstants table for card_table::_byte_map_base

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • repo-leyden
    • repo-leyden
    • hotspot

      Currently we use Relocation info to patch card_table::_byte_map_base referenced in compiled code. This is not completely correct since this is not address. We have special check in AOTCodeCache::init2() to skip AOT code generation and usage if byte_map_base is not relocatable.

      To avoid this we should use AOTRuntimeConstants table to load _byte_map_base from it. And used Relocation info for loading from this table.

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

              Created:
              Updated: