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

Compiler runtime entries should use OOPs instead of raw Klass*

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: