Save load_barrier_on_oop_field_preloaded in aot CodeCache

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: hotspot


      For ZGC, also save this address to the code cache
      ZBarrierSetRuntime::load_barrier_on_oop_field_preloaded_addr());

      It is used in the lworld repository.

      Tests in runtime/cds/appcds/methodHandles fail with the error:

      # assert(false) failed: Address 0x00007fa1c15a5060 for runtime target 'ZBarrierSetRuntime::load_barrier_on_oop_field_preloaded(oopDesc*, oop*)+0' is missing in AOT Code Cache addresses table

      thanks @iklam for the fix. This should be fixed in the jdk repository first.

            Assignee:
            Coleen Phillimore
            Reporter:
            Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: