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

ObjectMonitor::_contentions field should not be 'jint'

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 18
    • hotspot
    • b04
    • generic
    • generic

    Description

      [~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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: