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

Compiler runtime entries should use OOPs instead of raw Klass*

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Won't Fix
    • 9
    • 9
    • hotspot
    • None

    Description

      Migrate compiler entries from using Klass* to oopDesc*:
      JRT_BLOCK_ENTRY(void, OptoRuntime::new_instance_C(Klass* klass, JavaThread* thread))

      becomes

      JRT_BLOCK_ENTRY(void, OptoRuntime::new_instance_C(oopDesc* mirror, JavaThread* thread))

      It should simplify the logic to keep classes alive across safepoints and allows to remove handles to class mirrors added by JDK-8141420.

      Attachments

        Issue Links

          Activity

            People

              vlivanov Vladimir Ivanov
              vlivanov Vladimir Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: