comparison src/share/vm/runtime/arguments.cpp @ 3568:409ef3a68dc8

re-lock objects whose lock was removed by escape analysis, enable stack walking compilation policy (-XX:CompilationPolicyChoice=1)
author Lukas Stadler <lukas.stadler@jku.at>
date Thu, 01 Sep 2011 15:28:24 +0200
parents 4aa80ca3dbec
children 4e3bcc322fdc
comparison
equal deleted inserted replaced
3567:dbf8d6a4201f 3568:409ef3a68dc8
2016 return result; 2016 return result;
2017 } 2017 }
2018 2018
2019 if (UseGraal) { 2019 if (UseGraal) {
2020 if (PrintVMOptions) { 2020 if (PrintVMOptions) {
2021 tty->print("Running Graal VM... "); 2021 tty->print_cr("Running Graal VM... ");
2022 } 2022 }
2023 const int BUFFER_SIZE = 1024; 2023 const int BUFFER_SIZE = 1024;
2024 char maxine_dir[BUFFER_SIZE]; 2024 char maxine_dir[BUFFER_SIZE];
2025 char temp[BUFFER_SIZE]; 2025 char temp[BUFFER_SIZE];
2026 if (!os::getenv("MAXINE", maxine_dir, sizeof(maxine_dir))) { 2026 if (!os::getenv("MAXINE", maxine_dir, sizeof(maxine_dir))) {
2027 fatal("Must set MAXINE environment variable to a Maxine project directory."); 2027 fatal("Must set MAXINE environment variable to a Maxine project directory.");
2028 } 2028 }
2029 if (PrintVMOptions) tty->print("MAXINE=%s", maxine_dir); 2029 if (PrintVMOptions) tty->print_cr("MAXINE=%s", maxine_dir);
2030 SysClassPath scp_compiler(Arguments::get_sysclasspath()); 2030 SysClassPath scp_compiler(Arguments::get_sysclasspath());
2031 sprintf(temp, "%s/com.oracle.max.cri/bin", maxine_dir); 2031 sprintf(temp, "%s/com.oracle.max.cri/bin", maxine_dir);
2032 scp_compiler.add_prefix(temp); 2032 scp_compiler.add_prefix(temp);
2033 sprintf(temp, "%s/com.oracle.max.base/bin", maxine_dir); 2033 sprintf(temp, "%s/com.oracle.max.base/bin", maxine_dir);
2034 scp_compiler.add_prefix(temp); 2034 scp_compiler.add_prefix(temp);