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

Compiler runtime entries should use OOPs instead of raw Klass*

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: