src/share/vm/oops/method.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8067836 Cdiff src/share/vm/oops/method.cpp
src/share/vm/oops/method.cpp
Print this page
rev 7616 : 8067836: The Universe::flush_foo methods belong in CodeCache.
Summary: Move this code to CodeCache.
Reviewed-by: kbarrett, kvn
*** 1,7 ****
/*
! * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 23,32 ****
--- 23,33 ----
*/
#include "precompiled.hpp"
#include "classfile/metadataOnStackMark.hpp"
#include "classfile/systemDictionary.hpp"
+ #include "code/codeCache.hpp"
#include "code/debugInfoRec.hpp"
#include "gc_interface/collectedHeap.inline.hpp"
#include "interpreter/bytecodeStream.hpp"
#include "interpreter/bytecodeTracer.hpp"
#include "interpreter/bytecodes.hpp"
*** 1725,1735 ****
SystemDictionary::notice_modification();
{
// Deoptimize all dependents on this method
HandleMark hm(thread);
methodHandle mh(thread, method);
! Universe::flush_dependents_on_method(mh);
}
}
void BreakpointInfo::clear(Method* method) {
*method->bcp_from(_bci) = orig_bytecode();
--- 1726,1736 ----
SystemDictionary::notice_modification();
{
// Deoptimize all dependents on this method
HandleMark hm(thread);
methodHandle mh(thread, method);
! CodeCache::flush_dependents_on_method(mh);
}
}
void BreakpointInfo::clear(Method* method) {
*method->bcp_from(_bci) = orig_bytecode();
src/share/vm/oops/method.cpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File