Skip to content

Commit

Permalink
8318474: Fix memory reporter for thread_count
Browse files Browse the repository at this point in the history
Backport-of: 0baa9ecd76c9be33a1939e47dcae320bc8b65e96
  • Loading branch information
zer0chance authored and tstuefe committed Nov 8, 2023
1 parent 7091631 commit 6bd2c5a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/hotspot/share/services/memReporter.cpp
Expand Up @@ -233,7 +233,6 @@ void MemSummaryReporter::report_summary_of_type(MEMFLAGS flag,
MallocMemory* thread_stack_memory = _malloc_snapshot->by_type(mtThreadStack);
const char* scale = current_scale();
// report thread count
assert(ThreadStackTracker::thread_count() == 0, "Not used");
out->print_cr("%27s (thread #" SIZE_FORMAT ")", " ", thread_stack_memory->malloc_count());
out->print("%27s (Stack: " SIZE_FORMAT "%s", " ",
amount_in_current_scale(thread_stack_memory->malloc_size()), scale);
Expand Down

1 comment on commit 6bd2c5a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.