src/share/vm/code/codeBlob.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
JDK-8015774 Cdiff src/share/vm/code/codeBlob.hpp
src/share/vm/code/codeBlob.hpp
Print this page
*** 28,37 ****
--- 28,47 ----
#include "asm/codeBuffer.hpp"
#include "compiler/oopMap.hpp"
#include "runtime/frame.hpp"
#include "runtime/handles.hpp"
+ // CodeBlob Types
+ // Used in the CodeCache to assign CodeBlobs to different CodeHeaps
+ struct CodeBlobType {
+ enum {
+ MethodNonProfiled = 0, // Tier 1 and tier 4 (non-profiled) nmethods (including native nmethods)
+ MethodProfiled = 1, // Tier 2 and Tier 3 (profiled) nmethods
+ NonMethod = 2 // Non-methods like Buffers, Adapters and Runtime Stubs
+ };
+ };
+
// CodeBlob - superclass for all entries in the CodeCache.
//
// Suptypes are:
// nmethod : Compiled Java methods (include method that calls to native code)
// RuntimeStub : Call to VM runtime methods
*** 384,396 ****
bool exception_address_is_unpack_entry(address pc) const {
address unpack_pc = unpack();
return (pc == unpack_pc || (pc + frame::pc_return_offset) == unpack_pc);
}
-
-
-
// GC for args
void preserve_callee_argument_oops(frame fr, const RegisterMap *reg_map, OopClosure* f) { /* Nothing to do */ }
// Printing
void print_value_on(outputStream* st) const;
--- 394,403 ----
src/share/vm/code/codeBlob.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File