60 ciEnv.o \
61 classLoadingService.o \
62 compileBroker.o \
63 hashtable.o \
64 instanceKlass.o \
65 java.o \
66 jni.o \
67 jvm.o \
68 memoryManager.o \
69 nmethod.o \
70 objectMonitor.o \
71 runtimeService.o \
72 sharedRuntime.o \
73 synchronizer.o \
74 thread.o \
75 unsafe.o \
76 vmThread.o \
77 vmGCOperations.o \
78 )
79
80 ifeq ($(call check-jvm-feature, all-gcs), true)
81 DTRACE_INSTRUMENTED_OBJS += $(addprefix $(JVM_OUTPUTDIR)/objs/, \
82 vmCMSOperations.o \
83 vmPSOperations.o \
84 )
85 endif
86
87 DTRACE_FLAGS := -64 -G
88 DTRACE_CPP_FLAGS := -D_LP64
89
90 # Make sure we run our selected compiler for preprocessing instead of letting
91 # the dtrace tool pick it on it's own.
92 $(DTRACE_OBJ): $(JVM_OUTPUTDIR)/objs/dtrace.d $(DTRACE_INSTRUMENTED_OBJS)
93 $(call LogInfo, Generating $(@F) from $(<F) and object files)
94 $(call MakeDir, $(DTRACE_SUPPORT_DIR))
95 $(call ExecuteWithLog, $(DTRACE_SUPPORT_DIR)/$(@F).d, \
96 ($(CPP) $(DTRACE_CPP_FLAGS) $< > $(DTRACE_SUPPORT_DIR)/$(@F).d))
97 $(call ExecuteWithLog, $@, $(DTRACE) $(DTRACE_FLAGS) -xlazyload -o $@ \
98 -s $(DTRACE_SUPPORT_DIR)/$(@F).d $(sort $(DTRACE_INSTRUMENTED_OBJS)))
99
100 ############################################################################
101 # Generate DTRACE_JHELPER_OBJ which is linked with libjvm.so.
102
|
60 ciEnv.o \
61 classLoadingService.o \
62 compileBroker.o \
63 hashtable.o \
64 instanceKlass.o \
65 java.o \
66 jni.o \
67 jvm.o \
68 memoryManager.o \
69 nmethod.o \
70 objectMonitor.o \
71 runtimeService.o \
72 sharedRuntime.o \
73 synchronizer.o \
74 thread.o \
75 unsafe.o \
76 vmThread.o \
77 vmGCOperations.o \
78 )
79
80 ifeq ($(call check-jvm-feature, cmsgc), true)
81 DTRACE_INSTRUMENTED_OBJS += $(addprefix $(JVM_OUTPUTDIR)/objs/, \
82 vmCMSOperations.o \
83 )
84 endif
85
86 ifeq ($(call check-jvm-feature, parallelgc), true)
87 DTRACE_INSTRUMENTED_OBJS += $(addprefix $(JVM_OUTPUTDIR)/objs/, \
88 vmPSOperations.o \
89 )
90 endif
91
92 DTRACE_FLAGS := -64 -G
93 DTRACE_CPP_FLAGS := -D_LP64
94
95 # Make sure we run our selected compiler for preprocessing instead of letting
96 # the dtrace tool pick it on it's own.
97 $(DTRACE_OBJ): $(JVM_OUTPUTDIR)/objs/dtrace.d $(DTRACE_INSTRUMENTED_OBJS)
98 $(call LogInfo, Generating $(@F) from $(<F) and object files)
99 $(call MakeDir, $(DTRACE_SUPPORT_DIR))
100 $(call ExecuteWithLog, $(DTRACE_SUPPORT_DIR)/$(@F).d, \
101 ($(CPP) $(DTRACE_CPP_FLAGS) $< > $(DTRACE_SUPPORT_DIR)/$(@F).d))
102 $(call ExecuteWithLog, $@, $(DTRACE) $(DTRACE_FLAGS) -xlazyload -o $@ \
103 -s $(DTRACE_SUPPORT_DIR)/$(@F).d $(sort $(DTRACE_INSTRUMENTED_OBJS)))
104
105 ############################################################################
106 # Generate DTRACE_JHELPER_OBJ which is linked with libjvm.so.
107
|