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

AdvancedThresholdPolicy::update_rate should use handles for Method*

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None

      Raw Method*s are used in AdvancedThresholdPolicy::update_rate, but there are places where safepoint can occur and raw pointers become stale. Method handles should be used instead.

      Also, I filed an RFE to consider completely removing safepoints in ATP::update_rate (see JDK-8042925).

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

              Created:
              Updated:
              Resolved: