Skip to content
Permalink
Browse files

8236691: JFR: assert((((((klass)->trace_id()) & ((JfrTraceIdEpoch::me…

…thod_and_class_in_use_this_epoch_bits()))) != 0))) failed: invariant

Reviewed-by: mgronlun
  • Loading branch information
Erik Gahlin
Erik Gahlin committed Jan 14, 2020
1 parent 5ff1d72 commit 6ee7f3734d6087e7bae8d42ef21eb59b2ca4cbe5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/hotspot/share/jfr/recorder/checkpoint/types/traceid/jfrTraceId.inline.hpp
@@ -97,10 +97,10 @@ inline traceid JfrTraceId::use(const Klass* klass, const Method* method) {
if (METHOD_FLAG_NOT_USED_THIS_EPOCH(method)) {
SET_METHOD_AND_CLASS_USED_THIS_EPOCH(klass);
SET_METHOD_FLAG_USED_THIS_EPOCH(method);
assert(METHOD_AND_CLASS_USED_THIS_EPOCH(klass), "invariant");
assert(METHOD_FLAG_USED_THIS_EPOCH(method), "invariant");
JfrTraceIdEpoch::set_changed_tag_state();
}
assert(METHOD_AND_CLASS_USED_THIS_EPOCH(klass), "invariant");
assert(METHOD_FLAG_USED_THIS_EPOCH(method), "invariant");
return (METHOD_ID(klass, method));
}

0 comments on commit 6ee7f37

Please sign in to comment.