Skip to content

Commit

Permalink
comment changes requested by TheRealMDoerr
Browse files Browse the repository at this point in the history
  • Loading branch information
RealLucy committed Feb 25, 2021
1 parent 0f220ee commit e8af119
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/hotspot/share/runtime/java.cpp
Expand Up @@ -96,8 +96,6 @@
GrowableArray<Method*>* collected_profiled_methods;

int compare_methods(Method** a, Method** b) {
// invocation_count() may have overflowed already. Interpret it's result as
// unsigned int to shift the limit of meaningless results by a factor of 2.
return (int32_t)(((uint32_t)(*b)->invocation_count() + (*b)->compiled_invocation_count())
- ((uint32_t)(*a)->invocation_count() + (*a)->compiled_invocation_count()));
}
Expand Down

0 comments on commit e8af119

Please sign in to comment.