diff -r 04af91b7fadd -r 4a08476437e8 hotspot/src/share/vm/ci/ciMethod.cpp --- a/hotspot/src/share/vm/ci/ciMethod.cpp Tue Jul 14 16:28:53 2015 +0200 +++ b/hotspot/src/share/vm/ci/ciMethod.cpp Wed Jul 15 12:24:41 2015 -0700 @@ -75,6 +75,9 @@ { assert(h_m() != NULL, "no null method"); + if (LogTouchedMethods) { + h_m()->log_touched(Thread::current()); + } // These fields are always filled in in loaded methods. _flags = ciFlags(h_m()->access_flags());