src/hotspot/share/jvmci/systemDictionary_jvmci.hpp
author herrick
Wed, 27 Mar 2019 08:27:58 -0400
branchJDK-8200758-branch
changeset 57288 0be43184f52a
parent 53244 9807daeb47c4
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     1
/*
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 52195
diff changeset
     2
 * Copyright (c) 2012, 2019, Oracle and/or its affiliates. All rights reserved.
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     4
 *
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     7
 * published by the Free Software Foundation.
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     8
 *
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    13
 * accompanied this code).
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    14
 *
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    18
 *
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    21
 * questions.
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    22
 */
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    23
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 52195
diff changeset
    24
#ifndef SHARE_JVMCI_SYSTEMDICTIONARY_JVMCI_HPP
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 52195
diff changeset
    25
#define SHARE_JVMCI_SYSTEMDICTIONARY_JVMCI_HPP
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    26
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    27
#if !INCLUDE_JVMCI
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    28
#define JVMCI_WK_KLASSES_DO(do_klass)
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    29
#else
52195
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    30
#define JVMCI_WK_KLASSES_DO(do_klass)                                                                      \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    31
  /* JVMCI classes. These are loaded on-demand. */                                                         \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    32
  do_klass(JVMCI_klass,                                  jdk_vm_ci_runtime_JVMCI                          ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    33
  do_klass(HotSpotCompiledCode_klass,                    jdk_vm_ci_hotspot_HotSpotCompiledCode            ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    34
  do_klass(HotSpotCompiledCode_Comment_klass,            jdk_vm_ci_hotspot_HotSpotCompiledCode_Comment    ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    35
  do_klass(HotSpotCompiledNmethod_klass,                 jdk_vm_ci_hotspot_HotSpotCompiledNmethod         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    36
  do_klass(HotSpotForeignCallTarget_klass,               jdk_vm_ci_hotspot_HotSpotForeignCallTarget       ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    37
  do_klass(HotSpotReferenceMap_klass,                    jdk_vm_ci_hotspot_HotSpotReferenceMap            ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    38
  do_klass(HotSpotInstalledCode_klass,                   jdk_vm_ci_hotspot_HotSpotInstalledCode           ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    39
  do_klass(HotSpotNmethod_klass,                         jdk_vm_ci_hotspot_HotSpotNmethod                 ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    40
  do_klass(HotSpotResolvedJavaMethodImpl_klass,          jdk_vm_ci_hotspot_HotSpotResolvedJavaMethodImpl  ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    41
  do_klass(HotSpotResolvedObjectTypeImpl_klass,          jdk_vm_ci_hotspot_HotSpotResolvedObjectTypeImpl  ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    42
  do_klass(HotSpotCompressedNullConstant_klass,          jdk_vm_ci_hotspot_HotSpotCompressedNullConstant  ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    43
  do_klass(HotSpotObjectConstantImpl_klass,              jdk_vm_ci_hotspot_HotSpotObjectConstantImpl      ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    44
  do_klass(HotSpotMetaspaceConstantImpl_klass,           jdk_vm_ci_hotspot_HotSpotMetaspaceConstantImpl   ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    45
  do_klass(HotSpotSentinelConstant_klass,                jdk_vm_ci_hotspot_HotSpotSentinelConstant        ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    46
  do_klass(HotSpotStackFrameReference_klass,             jdk_vm_ci_hotspot_HotSpotStackFrameReference     ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    47
  do_klass(HotSpotMetaData_klass,                        jdk_vm_ci_hotspot_HotSpotMetaData                ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    48
  do_klass(HotSpotConstantPool_klass,                    jdk_vm_ci_hotspot_HotSpotConstantPool            ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    49
  do_klass(HotSpotJVMCIMetaAccessContext_klass,          jdk_vm_ci_hotspot_HotSpotJVMCIMetaAccessContext  ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    50
  do_klass(HotSpotJVMCIRuntime_klass,                    jdk_vm_ci_hotspot_HotSpotJVMCIRuntime            ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    51
  do_klass(HotSpotSpeculationLog_klass,                  jdk_vm_ci_hotspot_HotSpotSpeculationLog          ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    52
  do_klass(HotSpotCompilationRequestResult_klass,        jdk_vm_ci_hotspot_HotSpotCompilationRequestResult) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    53
  do_klass(VMField_klass,                                jdk_vm_ci_hotspot_VMField                        ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    54
  do_klass(VMFlag_klass,                                 jdk_vm_ci_hotspot_VMFlag                         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    55
  do_klass(VMIntrinsicMethod_klass,                      jdk_vm_ci_hotspot_VMIntrinsicMethod              ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    56
  do_klass(Assumptions_ConcreteMethod_klass,             jdk_vm_ci_meta_Assumptions_ConcreteMethod        ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    57
  do_klass(Assumptions_NoFinalizableSubclass_klass,      jdk_vm_ci_meta_Assumptions_NoFinalizableSubclass ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    58
  do_klass(Assumptions_ConcreteSubtype_klass,            jdk_vm_ci_meta_Assumptions_ConcreteSubtype       ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    59
  do_klass(Assumptions_LeafType_klass,                   jdk_vm_ci_meta_Assumptions_LeafType              ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    60
  do_klass(Assumptions_CallSiteTargetValue_klass,        jdk_vm_ci_meta_Assumptions_CallSiteTargetValue   ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    61
  do_klass(Architecture_klass,                           jdk_vm_ci_code_Architecture                      ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    62
  do_klass(TargetDescription_klass,                      jdk_vm_ci_code_TargetDescription                 ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    63
  do_klass(BytecodePosition_klass,                       jdk_vm_ci_code_BytecodePosition                  ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    64
  do_klass(DebugInfo_klass,                              jdk_vm_ci_code_DebugInfo                         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    65
  do_klass(RegisterSaveLayout_klass,                     jdk_vm_ci_code_RegisterSaveLayout                ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    66
  do_klass(BytecodeFrame_klass,                          jdk_vm_ci_code_BytecodeFrame                     ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    67
  do_klass(InstalledCode_klass,                          jdk_vm_ci_code_InstalledCode                     ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    68
  do_klass(code_Location_klass,                          jdk_vm_ci_code_Location                          ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    69
  do_klass(code_Register_klass,                          jdk_vm_ci_code_Register                          ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    70
  do_klass(RegisterValue_klass,                          jdk_vm_ci_code_RegisterValue                     ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    71
  do_klass(StackSlot_klass,                              jdk_vm_ci_code_StackSlot                         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    72
  do_klass(StackLockValue_klass,                         jdk_vm_ci_code_StackLockValue                    ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    73
  do_klass(VirtualObject_klass,                          jdk_vm_ci_code_VirtualObject                     ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    74
  do_klass(site_Call_klass,                              jdk_vm_ci_code_site_Call                         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    75
  do_klass(site_ConstantReference_klass,                 jdk_vm_ci_code_site_ConstantReference            ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    76
  do_klass(site_DataPatch_klass,                         jdk_vm_ci_code_site_DataPatch                    ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    77
  do_klass(site_DataSectionReference_klass,              jdk_vm_ci_code_site_DataSectionReference         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    78
  do_klass(site_ExceptionHandler_klass,                  jdk_vm_ci_code_site_ExceptionHandler             ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    79
  do_klass(site_Mark_klass,                              jdk_vm_ci_code_site_Mark                         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    80
  do_klass(site_Infopoint_klass,                         jdk_vm_ci_code_site_Infopoint                    ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    81
  do_klass(site_Site_klass,                              jdk_vm_ci_code_site_Site                         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    82
  do_klass(site_InfopointReason_klass,                   jdk_vm_ci_code_site_InfopointReason              ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    83
  do_klass(InspectedFrameVisitor_klass,                  jdk_vm_ci_code_stack_InspectedFrameVisitor       ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    84
  do_klass(JavaConstant_klass,                           jdk_vm_ci_meta_JavaConstant                      ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    85
  do_klass(PrimitiveConstant_klass,                      jdk_vm_ci_meta_PrimitiveConstant                 ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    86
  do_klass(RawConstant_klass,                            jdk_vm_ci_meta_RawConstant                       ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    87
  do_klass(NullConstant_klass,                           jdk_vm_ci_meta_NullConstant                      ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    88
  do_klass(ExceptionHandler_klass,                       jdk_vm_ci_meta_ExceptionHandler                  ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    89
  do_klass(JavaKind_klass,                               jdk_vm_ci_meta_JavaKind                          ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    90
  do_klass(ValueKind_klass,                              jdk_vm_ci_meta_ValueKind                         ) \
f08c1d7a5c53 8212642: Remove SystemDictionary::InitOption enum
iklam
parents: 49358
diff changeset
    91
  do_klass(Value_klass,                                  jdk_vm_ci_meta_Value                             )
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    92
#endif
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents:
diff changeset
    93
53244
9807daeb47c4 8216167: Update include guards to reflect correct directories
coleenp
parents: 52195
diff changeset
    94
#endif // SHARE_JVMCI_SYSTEMDICTIONARY_JVMCI_HPP