src/share/vm/code/codeBlob.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/code/codeBlob.hpp Wed Oct 9 15:17:14 2013
--- new/src/share/vm/code/codeBlob.hpp Wed Oct 9 15:17:14 2013
*** 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 {
+ MethodNoProfile = 0, // Tier 1 and tier 4 methods (including native methods)
+ MethodProfile = 1, // Tier 2 and Tier 3 methods with profile information
+ 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 ****
--- 394,403 ----
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;
src/share/vm/code/codeBlob.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File