RFR: 8378178: Change Thread::_allocated_bytes from jlong to uint64_t [v2]

Albert Mingkun Yang ayang at openjdk.org
Wed Feb 18 17:41:55 UTC 2026


On Wed, 18 Feb 2026 15:15:58 GMT, Joel Sikström <jsikstro at openjdk.org> wrote:

>> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review
>
> src/hotspot/share/services/threadService.hpp line 109:
> 
>> 107:   static int get_daemon_thread_count()        { return _atomic_daemon_threads_count; }
>> 108: 
>> 109:   static uint64_t exited_allocated_bytes()       { return AtomicAccess::load(&_exited_allocated_bytes); }
> 
> Do we care about alignment here?

Fixed.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/29792#discussion_r2823598647


More information about the serviceability-dev mailing list