hotspot/src/share/vm/code/nmethod.cpp
changeset 38151 fffedc5e5cf8
parent 38133 78b95467b9f1
child 38259 b495d1cfe673
equal deleted inserted replaced
38150:22d89ca22f98 38151:fffedc5e5cf8
  1074   assert(is_alive != NULL, "Should be non-NULL");
  1074   assert(is_alive != NULL, "Should be non-NULL");
  1075   // A non-NULL is_alive closure indicates that this is being called during GC.
  1075   // A non-NULL is_alive closure indicates that this is being called during GC.
  1076   flush_dependencies(is_alive);
  1076   flush_dependencies(is_alive);
  1077 
  1077 
  1078   // Break cycle between nmethod & method
  1078   // Break cycle between nmethod & method
  1079   if (log_is_enabled(Trace, classunload)) {
  1079   if (log_is_enabled(Trace, class, unload)) {
  1080     outputStream* log = Log(classunload)::trace_stream();
  1080     outputStream* log = Log(class, unload)::trace_stream();
  1081     log->print_cr("making nmethod " INTPTR_FORMAT
  1081     log->print_cr("making nmethod " INTPTR_FORMAT
  1082                   " unloadable, Method*(" INTPTR_FORMAT
  1082                   " unloadable, Method*(" INTPTR_FORMAT
  1083                   "), cause(" INTPTR_FORMAT ")",
  1083                   "), cause(" INTPTR_FORMAT ")",
  1084                   p2i(this), p2i(_method), p2i(cause));
  1084                   p2i(this), p2i(_method), p2i(cause));
  1085     if (!Universe::heap()->is_gc_active())
  1085     if (!Universe::heap()->is_gc_active())