Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
8288482: JFR: Cannot resolve method
Browse files Browse the repository at this point in the history
Reviewed-by: jbachorik
  • Loading branch information
Markus Grönlund committed Jul 19, 2022
1 parent 4dc421c commit a6bab2a
Showing 1 changed file with 6 additions and 2 deletions.
Expand Up @@ -197,7 +197,9 @@ static void set_serialized(const T* ptr) {
assert(ptr != NULL, "invariant");
SET_SERIALIZED(ptr);
assert(IS_SERIALIZED(ptr), "invariant");
CLEAR_THIS_EPOCH_CLEARED_BIT(ptr);
if (current_epoch()) {
CLEAR_THIS_EPOCH_CLEARED_BIT(ptr);
}
}

/*
Expand Down Expand Up @@ -775,7 +777,9 @@ void set_serialized<Method>(MethodPtr method) {
assert(method != NULL, "invariant");
SET_METHOD_SERIALIZED(method);
assert(IS_METHOD_SERIALIZED(method), "invariant");
CLEAR_THIS_EPOCH_METHOD_CLEARED_BIT(method);
if (current_epoch()) {
CLEAR_THIS_EPOCH_METHOD_CLEARED_BIT(method);
}
}

static int write_method(JfrCheckpointWriter* writer, MethodPtr method, bool leakp) {
Expand Down

1 comment on commit a6bab2a

@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.