ObjectMonitor::_recursions could be a 32 bit unsigned int

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: None
    • Component/s: hotspot

      We could consider addressing the following TODO in objectMonitor.hpp, which was first introduced in JDK-8049737:

      // - TODO: The _recursions field should be of type int, or int32_t but not
      // intptr_t. There's no reason to use a 64-bit type for this field
      // in a 64-bit JVM.

            Assignee:
            Francesco Andreuzzi
            Reporter:
            Francesco Andreuzzi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: