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

Clean up G1 barrier code in compiler interface (ci)

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • Resolved In Build:
      b34

      Description


      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: