--- a/hotspot/src/share/vm/code/nmethod.cpp Mon Apr 04 13:40:18 2016 -0700
+++ b/hotspot/src/share/vm/code/nmethod.cpp Thu Apr 07 09:47:48 2016 -0700
@@ -36,6 +36,7 @@
#include "compiler/directivesParser.hpp"
#include "compiler/disassembler.hpp"
#include "interpreter/bytecode.hpp"
+#include "memory/resourceArea.hpp"
#include "oops/methodData.hpp"
#include "oops/oop.inline.hpp"
#include "prims/jvmtiRedefineClassesTrace.hpp"
@@ -1321,7 +1322,7 @@
// Break cycle between nmethod & method
if (log_is_enabled(Trace, classunload)) {
- outputStream* log = LogHandle(classunload)::trace_stream();
+ outputStream* log = Log(classunload)::trace_stream();
log->print_cr("making nmethod " INTPTR_FORMAT
" unloadable, Method*(" INTPTR_FORMAT
"), cause(" INTPTR_FORMAT ")",