Skip to content

Commit ac01e24

Browse files
author
Markus Grönlund
committedApr 4, 2023
8305242: Remove non-invariant assert(EventThreadDump::is_enabled())
Reviewed-by: egahlin
1 parent a663d5d commit ac01e24

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/hotspot/share/jfr/periodic/jfrThreadDumpEvent.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ static bool execute_dcmd(bufferedStream& st, const char* const cmd) {
5757

5858
// caller needs ResourceMark
5959
const char* JfrDcmdEvent::thread_dump() {
60-
assert(EventThreadDump::is_enabled(), "invariant");
6160
bufferedStream st;
6261
execute_dcmd(st, "Thread.print");
6362
return st.as_string();

0 commit comments

Comments
 (0)
Please sign in to comment.