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

ObjectMonitor::_contentions field should not be 'jint'

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 16
    • hotspot
    • b04
    • generic
    • generic

      [~coleenp] mentioned this RFE during the JDK-8253064 review:

       src/hotspot/share/runtime/objectMonitor.hpp
      @@ -179,7 +171,7 @@ class ObjectMonitor {
        jint _contentions; // Number of active contentions in enter(). It is used by is_busy()

      Future RFE - can we replace jint with int32_t or even int or some C++ types. We're trying not to have Java types leak into runtime code since this doesn't directly interface with Java.

            coleenp Coleen Phillimore
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: