Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/ddr/vmddr.cpp
5991 views
1
/*******************************************************************************
2
* Copyright (c) 2017, 2019 IBM Corp. and others
3
*
4
* This program and the accompanying materials are made available under
5
* the terms of the Eclipse Public License 2.0 which accompanies this
6
* distribution and is available at https://www.eclipse.org/legal/epl-2.0/
7
* or the Apache License, Version 2.0 which accompanies this distribution and
8
* is available at https://www.apache.org/licenses/LICENSE-2.0.
9
*
10
* This Source Code may also be made available under the following
11
* Secondary Licenses when the conditions for such availability set
12
* forth in the Eclipse Public License, v. 2.0 are satisfied: GNU
13
* General Public License, version 2 with the GNU Classpath
14
* Exception [1] and GNU General Public License, version 2 with the
15
* OpenJDK Assembly Exception [2].
16
*
17
* [1] https://www.gnu.org/software/classpath/license.html
18
* [2] http://openjdk.java.net/legal/assembly-exception.html
19
*
20
* SPDX-License-Identifier: EPL-2.0 OR Apache-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 OR LicenseRef-GPL-2.0 WITH Assembly-exception
21
*******************************************************************************/
22
23
#include "j9.h"
24
#include "j9port_generated.h"
25
#include "j9generated.h"
26
#include "j9nongenerated.h"
27
#include "../rasdump/rasdump_internal.h"
28
#include "shcdatatypes.h"
29
#include "srphashtable_api.h"
30
#include "stackwalk.h"
31
#include "ComparingCursor.hpp"
32
#include "ComparingCursorHelper.hpp"
33
#include "ddrhelp.h"
34
35
#define VM_DdrDebugLink(type) DdrDebugLink(vm, type)
36
37
VM_DdrDebugLink(CacheletHints)
38
VM_DdrDebugLink(CacheletWrapper)
39
VM_DdrDebugLink(CharArrayWrapper)
40
VM_DdrDebugLink(ComparingCursor)
41
VM_DdrDebugLink(ComparingCursorHelper)
42
43
const void *
44
DDR_ComparingCursorHelper(ComparingCursorHelper * helper)
45
{
46
return helper->getBaseAddress();
47
}
48
49
VM_DdrDebugLink(J9DbgROMClassBuilder)
50
VM_DdrDebugLink(J9DbgStringInternTable)
51
VM_DdrDebugLink(J9IndexableObject)
52
VM_DdrDebugLink(J9IndexableObjectContiguous)
53
VM_DdrDebugLink(J9IndexableObjectContiguousCompressed)
54
VM_DdrDebugLink(J9IndexableObjectContiguousFull)
55
VM_DdrDebugLink(J9IndexableObjectDiscontiguous)
56
VM_DdrDebugLink(J9IndexableObjectDiscontiguousCompressed)
57
VM_DdrDebugLink(J9IndexableObjectDiscontiguousFull)
58
VM_DdrDebugLink(J9JITDataCacheHeader)
59
VM_DdrDebugLink(J9JITFrame)
60
VM_DdrDebugLink(J9JITHashTable)
61
VM_DdrDebugLink(J9JITStackAtlas)
62
VM_DdrDebugLink(J9Object)
63
VM_DdrDebugLink(J9ObjectCompressed)
64
VM_DdrDebugLink(J9ObjectFull)
65
VM_DdrDebugLink(J9OSRFrame)
66
VM_DdrDebugLink(J9RAMMethodRef)
67
VM_DdrDebugLink(J9RASdumpQueue)
68
VM_DdrDebugLink(J9ROMClassTOCEntry)
69
VM_DdrDebugLink(J9ROMConstantDynamicRef)
70
VM_DdrDebugLink(J9SFStackFrame)
71
VM_DdrDebugLink(J9SRPHashTable)
72
VM_DdrDebugLink(J9VMPopFramesInterruptEvent)
73
74
VM_DdrDebugLink(_jbooleanArray)
75
VM_DdrDebugLink(_jbyteArray)
76
VM_DdrDebugLink(_jcharArray)
77
VM_DdrDebugLink(_jclass)
78
VM_DdrDebugLink(_jdoubleArray)
79
VM_DdrDebugLink(_jfloatArray)
80
VM_DdrDebugLink(_jintArray)
81
VM_DdrDebugLink(_jlongArray)
82
VM_DdrDebugLink(_jobjectArray)
83
VM_DdrDebugLink(_jshortArray)
84
VM_DdrDebugLink(_jstring)
85
VM_DdrDebugLink(_jthrowable)
86
VM_DdrDebugLink(_jweak)
87
88
/*
89
* All builds now validate that DTFJ code is compatible with generating pointer
90
* classes dynamically. This will mark core files accordingly.
91
*
92
* @ddr_namespace: map_to_type=DDRAlgorithmVersions
93
*/
94
#define J9DDR_GENERATE_VERSION 1
95
96