--- a/src/hotspot/share/oops/instanceKlass.cpp Wed Aug 08 15:11:11 2018 -0400
+++ b/src/hotspot/share/oops/instanceKlass.cpp Wed Aug 08 15:24:21 2018 -0400
@@ -3665,7 +3665,7 @@
// unloading only. Also resets the flag to false. purge_previous_version
// will set the flag to true if there are any left, i.e., if there's any
// work to do for next time. This is to avoid the expensive code cache
-// walk in CLDG::do_unloading().
+// walk in CLDG::clean_deallocate_lists().
bool InstanceKlass::has_previous_versions_and_reset() {
bool ret = _has_previous_versions;
log_trace(redefine, class, iklass, purge)("Class unloading: has_previous_versions = %s",