OpenJDK / jdk / jdk
changeset 53123:96ce82319e82
8215791: Tiny bug in VM monitoring/management
Reviewed-by: dholmes, simonis
author | ghaug |
---|---|
date | Fri, 21 Dec 2018 10:19:15 +0100 |
parents | 883a1a80a6dc |
children | a22e41395bfa |
files | src/hotspot/share/services/threadService.hpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/hotspot/share/services/threadService.hpp Wed Jan 02 10:35:33 2019 -0500 +++ b/src/hotspot/share/services/threadService.hpp Fri Dec 21 10:19:15 2018 +0100 @@ -90,7 +90,7 @@ static bool is_thread_cpu_time_enabled() { return _thread_cpu_time_enabled; } static bool set_thread_allocated_memory_enabled(bool flag); - static bool is_thread_allocated_memory_enabled() { return _thread_cpu_time_enabled; } + static bool is_thread_allocated_memory_enabled() { return _thread_allocated_memory_enabled; } static jlong get_total_thread_count() { return _total_threads_count->get_value(); } static jlong get_peak_thread_count() { return _peak_threads_count->get_value(); }