13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_CODE_CODEBLOB_HPP
26 #define SHARE_VM_CODE_CODEBLOB_HPP
27
28 #include "asm/codeBuffer.hpp"
29 #include "compiler/compilerDefinitions.hpp"
30 #include "compiler/oopMap.hpp"
31 #include "runtime/frame.hpp"
32 #include "runtime/handles.hpp"
33 #include "utilities/macros.hpp"
34
35 // CodeBlob Types
36 // Used in the CodeCache to assign CodeBlobs to different CodeHeaps
37 struct CodeBlobType {
38 enum {
39 MethodNonProfiled = 0, // Execution level 1 and 4 (non-profiled) nmethods (including native nmethods)
40 MethodProfiled = 1, // Execution level 2 and 3 (profiled) nmethods
41 NonNMethod = 2, // Non-nmethods like Buffers, Adapters and Runtime Stubs
42 All = 3, // All types (No code cache segmentation)
43 AOT = 4, // AOT methods
44 NumTypes = 5 // Number of CodeBlobTypes
45 };
46 };
47
48 // CodeBlob - superclass for all entries in the CodeCache.
49 //
50 // Subtypes are:
51 // CompiledMethod : Compiled Java methods (include method that calls to native code)
52 // nmethod : JIT Compiled Java methods
|
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_CODE_CODEBLOB_HPP
26 #define SHARE_VM_CODE_CODEBLOB_HPP
27
28 #include "asm/codeBuffer.hpp"
29 #include "compiler/compilerDefinitions.hpp"
30 #include "compiler/oopMap.hpp"
31 #include "runtime/frame.hpp"
32 #include "runtime/handles.hpp"
33 #include "utilities/align.hpp"
34 #include "utilities/macros.hpp"
35
36 // CodeBlob Types
37 // Used in the CodeCache to assign CodeBlobs to different CodeHeaps
38 struct CodeBlobType {
39 enum {
40 MethodNonProfiled = 0, // Execution level 1 and 4 (non-profiled) nmethods (including native nmethods)
41 MethodProfiled = 1, // Execution level 2 and 3 (profiled) nmethods
42 NonNMethod = 2, // Non-nmethods like Buffers, Adapters and Runtime Stubs
43 All = 3, // All types (No code cache segmentation)
44 AOT = 4, // AOT methods
45 NumTypes = 5 // Number of CodeBlobTypes
46 };
47 };
48
49 // CodeBlob - superclass for all entries in the CodeCache.
50 //
51 // Subtypes are:
52 // CompiledMethod : Compiled Java methods (include method that calls to native code)
53 // nmethod : JIT Compiled Java methods
|