On Wed, 18 Feb 2026 15:04:21 GMT, Albert Mingkun Yang <[email protected]> wrote:

> Replace `jlong` with `uint64_t` for `Thread::_allocated_bytes` and 
> `ThreadService::_exited_allocated_bytes`.
> 
> Test: tier1

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?

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

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

Reply via email to