Change Thread::_allocated_bytes from jlong to uint64_t

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 27
    • Affects Version/s: None
    • Component/s: hotspot
    • None
    • b11

      This change replaces the internal use of `jlong` with `uint64_t` for
      `Thread::_allocated_bytes`, and the related field
      `ThreadService::_exited_allocated_bytes`.

      The intent is to confine `jlong` usage to the JVM/Java boundary and avoid
      propagating Java-specific types into deeper HotSpot runtime internals.

      Since allocated byte counters are inherently non-negative,
      `uint64_t` more accurately reflects the domain.

            Assignee:
            Albert Yang
            Reporter:
            Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: