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

Clean up G1 barrier code in compiler interface (ci)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 10
    • hotspot
    • gc
    • b34


      There are ensure_metadata_alive calls for various weak metadata accesses within the ci, which may or may not be the complete set. Move the gc barrier code to ciInstanceKlass creation. This will keep classes from being unloaded for metadata that is a weak root. Also move the anonymous case special case to the same code so it's all in the same place.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: