6974813: JVM needs to use demand loading for its DTrace probes
Summary: Pass -xlazyload to the 'dtrace -G' invocation
Reviewed-by: phh, ysr
--- 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 \