Skip to content
Permalink
Browse files
8240263: Assertion-only call in Method::link_method affecting product…
… builds

Reviewed-by: shade, dcubed, iklam
  • Loading branch information
cl4es committed Mar 3, 2020
1 parent 3fdf26d commit 52cfd292cc399ba64f4e92a07546ee59528a37b0
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/hotspot/share/oops/method.cpp
@@ -1175,9 +1175,11 @@ void Method::link_method(const methodHandle& h_method, TRAPS) {
// If the code cache is full, we may reenter this function for the
// leftover methods that weren't linked.
if (is_shared()) {
#ifdef ASSERT
address entry = Interpreter::entry_for_cds_method(h_method);
assert(entry != NULL && entry == _i2i_entry,
"should be correctly set during dump time");
#endif
if (adapter() != NULL) {
return;
}

0 comments on commit 52cfd29

Please sign in to comment.