Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/openj9
Path: blob/master/runtime/gc_realtime/CMakeLists.txt
5986 views
1
################################################################################
2
# Copyright (c) 2017, 2020 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_realtime_sources
24
AllocationContextRealtime.cpp
25
ConfigurationRealtime.cpp
26
EnvironmentRealtime.cpp
27
GlobalAllocationManagerRealtime.cpp
28
HeapRegionDescriptorRealtime.cpp
29
IncrementalOverflow.cpp
30
IncrementalParallelTask.cpp
31
MemorySubSpaceMetronome.cpp
32
MetronomeAlarm.cpp
33
MetronomeAlarmThread.cpp
34
OSInterface.cpp
35
OwnableSynchronizerObjectBufferRealtime.cpp
36
ProcessorInfo.cpp
37
RealtimeAccessBarrier.cpp
38
RealtimeGC.cpp
39
RealtimeMarkingScheme.cpp
40
RealtimeMarkTask.cpp
41
RealtimeRootScanner.cpp
42
RealtimeSweepTask.cpp
43
ReferenceObjectBufferRealtime.cpp
44
Scheduler.cpp
45
SweepSchemeRealtime.cpp
46
Timer.cpp
47
UnfinalizedObjectBufferRealtime.cpp
48
UtilizationTracker.cpp
49
WorkPacketsRealtime.cpp
50
YieldCollaborator.cpp
51
)
52
53
j9vm_add_library(j9realtime STATIC
54
${gc_realtime_sources}
55
)
56
57
target_link_libraries(j9realtime
58
PRIVATE
59
j9vm_interface
60
61
omrgc
62
j9gcbase
63
)
64
65
if(OMR_OS_WINDOWS)
66
target_link_libraries(j9realtime PRIVATE winmm.lib)
67
endif()
68
69
if(OMR_MIXED_REFERENCES_MODE_STATIC)
70
j9vm_add_library(j9realtime_full STATIC
71
${gc_realtime_sources}
72
)
73
74
target_link_libraries(j9realtime_full
75
PRIVATE
76
j9vm_interface
77
78
omrgc_full
79
j9gcbase_full
80
)
81
82
if(OMR_OS_WINDOWS)
83
target_link_libraries(j9realtime_full PRIVATE winmm.lib)
84
endif()
85
endif()
86
87