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

Need minor cleanup for interp_only_mode

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 25
    • None
    • hotspot
    • None
    • b23

      Some cleanup in the interp_only_mode implementation is needed:
       - The interp_only_mode in JavaThread is represented with a counter that is increment and decremented. This value should only take values 0 and 1. An assert is needed when it is going out of bounds.
       - The function JvmtiThreadState::process_pending_interp_only() does a sync on the the JvmtiThreadState_lock which is not really needed and can be removed. It is called in a VTMS transition and so, can not clash with the SetEventNotificationMode because it sets a JvmtiVTMSTransitionDisabler.

            sspitsyn Serguei Spitsyn
            sspitsyn Serguei Spitsyn
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: