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

[AOT] Missing GC scan of _metaspace_got array containing Klass*

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • b156
    • x86
    • linux
    • Fix failed

        The code which scans _metaspace_got array is commented out:

        #if 0
          // With the marking above, this call doesn't seem to be needed
           got_metadata_do(f);

        Unfortunately called AOTCompiledMethod::metadata_do() does not iterate over all Klass* which could be referenced by AOT code by accessing _metaspace_got array.

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

                Created:
                Updated:
                Resolved: