comparison make/Makefile @ 14317:b59507f713e0

8027113: decouple the '-XXaltjvm=<path>' option from the gamma launcher Summary: decoupled the '-XXaltjvm=<path>' option from the gamma launcher. Clearing the way for removing the remaining cruft associated with the previously removed gamma launcher. Reviewed-by: dcubed, dholmes
author rdurbin
date Thu, 30 Jan 2014 14:12:22 -0800
parents f509b8f4699b
children 8a9bb7821e28
comparison
equal deleted inserted replaced
14316:c888354aaa35 14317:b59507f713e0
555 $(TAR) -cf - *) | \ 555 $(TAR) -cf - *) | \
556 ($(CD) $(JDK_IMAGE_DIR) && $(TAR) -xf -) 556 ($(CD) $(JDK_IMAGE_DIR) && $(TAR) -xf -)
557 557
558 558
559 # Testing the built JVM 559 # Testing the built JVM
560 RUN_JVM=JAVA_HOME=$(JDK_IMPORT_PATH) $(JDK_IMPORT_PATH)/bin/java -d$(ARCH_DATA_MODEL) -Dsun.java.launcher=gamma 560 RUN_JVM=JAVA_HOME=$(JDK_IMPORT_PATH) $(JDK_IMPORT_PATH)/bin/java -d$(ARCH_DATA_MODEL) -XXaltjvm=$(ALTJVM_DIR) -Dsun.java.launcher.is_altjvm=true
561 generic_test: 561 generic_test:
562 @$(ECHO) "Running with: $(ALTJVM_DIR)" 562 @$(ECHO) "Running with: $(ALTJVM_DIR)"
563 @$(RUN_JVM) -XXaltjvm=$(ALTJVM_DIR) -Xinternalversion 563 @$(RUN_JVM) -Xinternalversion
564 @$(RUN_JVM) -XXaltjvm=$(ALTJVM_DIR) -showversion -help 564 @$(RUN_JVM) -showversion -help
565 565
566 # C2 test targets 566 # C2 test targets
567 test_product test_optimized test_fastdebug test_debug: 567 test_product test_optimized test_fastdebug test_debug:
568 @$(MAKE) generic_test ALTJVM_DIR="$(C2_DIR)/$(@:test_%=%)" 568 @$(MAKE) generic_test ALTJVM_DIR="$(C2_DIR)/$(@:test_%=%)"
569 569