mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8046282: SA update
These changes add some definitions on the SA side and the supporting code on the hotspot side. Reviewed-by: sundar, mgronlun
This commit is contained in:
parent
5cfb709349
commit
754a598a62
16 changed files with 589 additions and 1 deletions
|
@ -104,6 +104,7 @@
|
|||
#include "utilities/globalDefinitions.hpp"
|
||||
#include "utilities/hashtable.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
|
||||
#ifdef TARGET_ARCH_x86
|
||||
# include "vmStructs_x86.hpp"
|
||||
#endif
|
||||
|
@ -168,6 +169,11 @@
|
|||
#include "gc_implementation/parallelScavenge/vmStructs_parallelgc.hpp"
|
||||
#include "gc_implementation/g1/vmStructs_g1.hpp"
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_TRACE
|
||||
#include "runtime/vmStructs_trace.hpp"
|
||||
#endif
|
||||
|
||||
#ifdef COMPILER2
|
||||
#include "opto/addnode.hpp"
|
||||
#include "opto/block.hpp"
|
||||
|
@ -1390,6 +1396,8 @@ typedef TwoOopHashtable<Symbol*, mtClass> SymbolTwoOopHashtable;
|
|||
/* unsigned short on Win32 */ \
|
||||
declare_unsigned_integer_type(u1) \
|
||||
declare_unsigned_integer_type(u2) \
|
||||
declare_unsigned_integer_type(u4) \
|
||||
declare_unsigned_integer_type(u8) \
|
||||
declare_unsigned_integer_type(unsigned) \
|
||||
\
|
||||
/*****************************/ \
|
||||
|
@ -2923,6 +2931,11 @@ VMStructEntry VMStructs::localHotSpotVMStructs[] = {
|
|||
GENERATE_STATIC_VM_STRUCT_ENTRY)
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_TRACE
|
||||
VM_STRUCTS_TRACE(GENERATE_NONSTATIC_VM_STRUCT_ENTRY,
|
||||
GENERATE_STATIC_VM_STRUCT_ENTRY)
|
||||
#endif
|
||||
|
||||
VM_STRUCTS_CPU(GENERATE_NONSTATIC_VM_STRUCT_ENTRY,
|
||||
GENERATE_STATIC_VM_STRUCT_ENTRY,
|
||||
GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY,
|
||||
|
@ -2968,6 +2981,11 @@ VMTypeEntry VMStructs::localHotSpotVMTypes[] = {
|
|||
GENERATE_TOPLEVEL_VM_TYPE_ENTRY)
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_TRACE
|
||||
VM_TYPES_TRACE(GENERATE_VM_TYPE_ENTRY,
|
||||
GENERATE_TOPLEVEL_VM_TYPE_ENTRY)
|
||||
#endif
|
||||
|
||||
VM_TYPES_CPU(GENERATE_VM_TYPE_ENTRY,
|
||||
GENERATE_TOPLEVEL_VM_TYPE_ENTRY,
|
||||
GENERATE_OOP_VM_TYPE_ENTRY,
|
||||
|
@ -3003,6 +3021,10 @@ VMIntConstantEntry VMStructs::localHotSpotVMIntConstants[] = {
|
|||
VM_INT_CONSTANTS_PARNEW(GENERATE_VM_INT_CONSTANT_ENTRY)
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_TRACE
|
||||
VM_INT_CONSTANTS_TRACE(GENERATE_VM_INT_CONSTANT_ENTRY)
|
||||
#endif
|
||||
|
||||
VM_INT_CONSTANTS_CPU(GENERATE_VM_INT_CONSTANT_ENTRY,
|
||||
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY,
|
||||
GENERATE_C1_VM_INT_CONSTANT_ENTRY,
|
||||
|
@ -3065,8 +3087,14 @@ VMStructs::init() {
|
|||
|
||||
VM_STRUCTS_G1(CHECK_NONSTATIC_VM_STRUCT_ENTRY,
|
||||
CHECK_STATIC_VM_STRUCT_ENTRY);
|
||||
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_TRACE
|
||||
VM_STRUCTS_TRACE(CHECK_NONSTATIC_VM_STRUCT_ENTRY,
|
||||
CHECK_STATIC_VM_STRUCT_ENTRY);
|
||||
#endif
|
||||
|
||||
VM_STRUCTS_CPU(CHECK_NONSTATIC_VM_STRUCT_ENTRY,
|
||||
CHECK_STATIC_VM_STRUCT_ENTRY,
|
||||
CHECK_NO_OP,
|
||||
|
@ -3105,8 +3133,14 @@ VMStructs::init() {
|
|||
|
||||
VM_TYPES_G1(CHECK_VM_TYPE_ENTRY,
|
||||
CHECK_SINGLE_ARG_VM_TYPE_NO_OP);
|
||||
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_TRACE
|
||||
VM_TYPES_TRACE(CHECK_VM_TYPE_ENTRY,
|
||||
CHECK_SINGLE_ARG_VM_TYPE_NO_OP);
|
||||
#endif
|
||||
|
||||
VM_TYPES_CPU(CHECK_VM_TYPE_ENTRY,
|
||||
CHECK_SINGLE_ARG_VM_TYPE_NO_OP,
|
||||
CHECK_SINGLE_ARG_VM_TYPE_NO_OP,
|
||||
|
@ -3169,6 +3203,12 @@ VMStructs::init() {
|
|||
debug_only(VM_STRUCTS_G1(ENSURE_FIELD_TYPE_PRESENT,
|
||||
ENSURE_FIELD_TYPE_PRESENT));
|
||||
#endif // INCLUDE_ALL_GCS
|
||||
|
||||
#if INCLUDE_TRACE
|
||||
debug_only(VM_STRUCTS_TRACE(ENSURE_FIELD_TYPE_PRESENT,
|
||||
ENSURE_FIELD_TYPE_PRESENT));
|
||||
#endif
|
||||
|
||||
debug_only(VM_STRUCTS_CPU(ENSURE_FIELD_TYPE_PRESENT,
|
||||
ENSURE_FIELD_TYPE_PRESENT,
|
||||
CHECK_NO_OP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue