Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/gc_verbose_old_events/CMakeLists.txt
5985 views
1
################################################################################
2
# Copyright (c) 2017, 2021 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
set(gc_verbose_old_events_sources
24
VerboseEvent.cpp
25
VerboseEventAFEnd.cpp
26
VerboseEventClassUnloadingEnd.cpp
27
VerboseEventClassUnloadingStart.cpp
28
VerboseEventCompactEnd.cpp
29
VerboseEventCompactStart.cpp
30
VerboseEventCompletedConcurrentSweep.cpp
31
VerboseEventConcurrentAborted.cpp
32
VerboseEventConcurrentCompleteTracingEnd.cpp
33
VerboseEventConcurrentCompleteTracingStart.cpp
34
VerboseEventConcurrentEnd.cpp
35
VerboseEventConcurrentFinalCardCleaningEnd.cpp
36
VerboseEventConcurrentFinalCardCleaningStart.cpp
37
VerboseEventConcurrentHalted.cpp
38
VerboseEventConcurrentKickOff.cpp
39
VerboseEventConcurrentlyCompletedSweepPhase.cpp
40
VerboseEventConcurrentRSScanEnd.cpp
41
VerboseEventConcurrentRSScanStart.cpp
42
VerboseEventConcurrentStart.cpp
43
VerboseEventCopyForwardAbortRaised.cpp
44
VerboseEvent.cpp
45
VerboseEventAFStart.cpp
46
VerboseEventExcessiveGCRaised.cpp
47
VerboseEventGCEnd.cpp
48
VerboseEventGCInitialized.cpp
49
VerboseEventGCStart.cpp
50
VerboseEventGlobalGCEnd.cpp
51
VerboseEventGlobalGCStart.cpp
52
VerboseEventHeapResize.cpp
53
VerboseEventLocalGCEnd.cpp
54
VerboseEventLocalGCStart.cpp
55
VerboseEventMarkEnd.cpp
56
VerboseEventMarkStart.cpp
57
VerboseEventMetronomeCycleEnd.cpp
58
VerboseEventMetronomeCycleStart.cpp
59
VerboseEventMetronomeGCEnd.cpp
60
VerboseEventMetronomeGCStart.cpp
61
VerboseEventMetronomeNonMonotonicTime.cpp
62
VerboseEventMetronomeOutOfMemory.cpp
63
VerboseEventMetronomeSynchronousGCEnd.cpp
64
VerboseEventMetronomeSynchronousGCStart.cpp
65
VerboseEventMetronomeTriggerEnd.cpp
66
VerboseEventMetronomeTriggerStart.cpp
67
VerboseEventMetronomeUtilizationTrackerOverflow.cpp
68
VerboseEventPercolateCollect.cpp
69
VerboseEventSweepEnd.cpp
70
VerboseEventSweepStart.cpp
71
VerboseEventSystemGCEnd.cpp
72
VerboseEventSystemGCStart.cpp
73
VerboseEventTarokIncrementEnd.cpp
74
VerboseEventTarokIncrementStart.cpp
75
)
76
77
j9vm_add_library(j9gcvrbevents STATIC
78
${gc_verbose_old_events_sources}
79
)
80
81
target_include_directories(j9gcvrbevents
82
PRIVATE
83
${j9vm_SOURCE_DIR}/gc_verbose_old
84
)
85
86
target_link_libraries(j9gcvrbevents
87
PRIVATE
88
j9vm_interface
89
90
omrgc
91
)
92
93
if(OMR_MIXED_REFERENCES_MODE_STATIC)
94
j9vm_add_library(j9gcvrbevents_full STATIC
95
${gc_verbose_old_events_sources}
96
)
97
98
target_include_directories(j9gcvrbevents_full
99
PRIVATE
100
${j9vm_SOURCE_DIR}/gc_verbose_old
101
)
102
103
target_link_libraries(j9gcvrbevents_full
104
PRIVATE
105
j9vm_interface
106
107
omrgc_full
108
)
109
endif()
110
111