8323540: assert((!((((method)->is_trace_flag_set(((1 << 4) << 8))))))) failed: invariant

Reviewed-by: mikael
This commit is contained in:
Markus Grönlund 2024-01-10 18:37:33 +00:00
parent 5ba69e1734
commit c1282b57f5

View File

@ -953,7 +953,6 @@ static int write_method(JfrCheckpointWriter* writer, MethodPtr method, bool leak
int write__method(JfrCheckpointWriter* writer, const void* m) {
assert(m != nullptr, "invariant");
MethodPtr method = static_cast<MethodPtr>(m);
assert(METHOD_IS_NOT_SERIALIZED(method), "invariant");
set_serialized(method);
return write_method(writer, method, false);
}