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

ObjectMonitor::_recursions could be a 32 bit unsigned int

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • 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.

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

              Created:
              Updated: