Mercurial > hg > graal-jvmci-8
changeset 10524:ea43748a69cb
Merge
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Mon, 24 Jun 2013 23:10:56 +0200 |
parents | 45788e918443 (current diff) 42017075d2b0 (diff) |
children | a11e3d681eb1 |
files | |
diffstat | 3 files changed, 21 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/GraalOptions.java Mon Jun 24 23:10:24 2013 +0200 +++ b/graal/com.oracle.graal.phases/src/com/oracle/graal/phases/GraalOptions.java Mon Jun 24 23:10:56 2013 +0200 @@ -41,7 +41,7 @@ @Option(help = "") public static final OptionValue<Double> MegamorphicInliningMinMethodProbability = new OptionValue<>(0.33D); @Option(help = "") - public static final OptionValue<Integer> MaximumDesiredSize = new OptionValue<>(5000); + public static final OptionValue<Integer> MaximumDesiredSize = new OptionValue<>(20000); @Option(help = "") public static final OptionValue<Integer> MaximumRecursiveInlining = new OptionValue<>(1);
--- a/make/windows/makefiles/projectcreator.make Mon Jun 24 23:10:24 2013 +0200 +++ b/make/windows/makefiles/projectcreator.make Mon Jun 24 23:10:56 2013 +0200 @@ -104,8 +104,8 @@ -jdkTargetRoot $(HOTSPOTJDKDIST) \ -define ALIGN_STACK_FRAMES \ -define VM_LITTLE_ENDIAN \ - -prelink "" "Generating vm.def..." "cd $(HOTSPOTBUILDSPACE)\%f\%b set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) set JAVA_HOME=$(HOTSPOTJDKDIST) $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh $(LD_VER)" \ - -postbuild "" "Building hotspot.exe..." "cd $(HOTSPOTBUILDSPACE)\%f\%b set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) nmake -f $(HOTSPOTWORKSPACE)\make\windows\projectfiles\common\Makefile LOCAL_MAKE=$(HOTSPOTBUILDSPACE)\%f\local.make JAVA_HOME=$(HOTSPOTJDKDIST) launcher" \ + -prelink "" "Generating vm.def..." "cd %o set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) set JAVA_HOME=$(HOTSPOTJDKDIST) $(HOTSPOTMKSHOME)\sh $(HOTSPOTWORKSPACE)\make\windows\build_vm_def.sh $(LD_VER)" \ + -postbuild "" "Building hotspot.exe..." "cd %o set HOTSPOTMKSHOME=$(HOTSPOTMKSHOME) nmake -f $(HOTSPOTWORKSPACE)\make\windows\projectfiles\common\Makefile LOCAL_MAKE=$(HOTSPOTBUILDSPACE)\%f\local.make JAVA_HOME=$(HOTSPOTJDKDIST) launcher" \ -ignoreFile jsig.c \ -ignoreFile jvmtiEnvRecommended.cpp \ -ignoreFile jvmtiEnvStub.cpp \
--- a/src/share/tools/ProjectCreator/BuildConfig.java Mon Jun 24 23:10:24 2013 +0200 +++ b/src/share/tools/ProjectCreator/BuildConfig.java Mon Jun 24 23:10:56 2013 +0200 @@ -67,6 +67,24 @@ String outDir = buildBase; String jdkTargetRoot = getFieldString(null, "JdkTargetRoot"); + String value = System.getenv("OUT_DIR"); + if (value != null) { + outDir = value; + int lastDirectorySeparator = Math.max(outDir.lastIndexOf("/"), outDir.lastIndexOf("\\")); + if (lastDirectorySeparator >= 0) { + outDir = outDir.substring(0, lastDirectorySeparator); + } + outDir += Util.sep + build + Util.sep + "jre" + Util.sep + "bin"; + if (flavour.equals("graal")) { + outDir += Util.sep + "graal"; + } else if (flavour.equals("compiler1")) { + outDir += Util.sep + "client"; + } else { + outDir += Util.sep + "server"; + } + buildBase = outDir; + } + put("Id", flavourBuild); put("OutputDir", outDir); put("SourceBase", sourceBase);