Unused code in prims/methodComparator

Thomas Stüfe thomas.stuefe at gmail.com
Wed Jan 20 08:31:15 UTC 2016

Hi all,

when investigating a warning about unchecked realloc() usage in
methodComparator.hpp, I found that the offending function
(BciMap::store_fragment_location) is not callable anymore.

BciMap::store_fragment_location is called
by MethodComparator::methods_switchable, which is not called anywhere.

Is there any reason we should keep this?

Regards, Thomas

More information about the hotspot-runtime-dev mailing list