6974813: JVM needs to use demand loading for its DTrace probes
authorkamg
Wed, 15 Sep 2010 16:28:19 -0400
changeset 6469 d32518d9eba5
parent 6468 9c661dcab7d9
child 6471 7d8425d8d18a
6974813: JVM needs to use demand loading for its DTrace probes Summary: Pass -xlazyload to the 'dtrace -G' invocation Reviewed-by: phh, ysr
hotspot/make/solaris/makefiles/dtrace.make
--- a/hotspot/make/solaris/makefiles/dtrace.make	Tue Sep 14 10:15:27 2010 -0400
+++ b/hotspot/make/solaris/makefiles/dtrace.make	Wed Sep 15 16:28:19 2010 -0400
@@ -165,7 +165,7 @@
 $(DTRACE.o): $(DTRACE).d $(JVMOFFS).h $(JVMOFFS)Index.h $(DTraced_Files)
 	@echo Compiling $(DTRACE).d
 
-	$(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -G -o $@ -s $(DTRACE).d \
+	$(QUIETLY) $(DTRACE_PROG) $(DTRACE_OPTS) -C -I. -G -xlazyload -o $@ -s $(DTRACE).d \
      $(DTraced_Files) ||\
   STATUS=$$?;\
 	if [ x"$$STATUS" = x"1" -a \