8177845: Need a mechanism to load Graal

Reviewed-by: kvn, iveresov, mchung
This commit is contained in:
Doug Simon 2017-04-28 02:54:05 -07:00
parent 58199581cd
commit 16d29f2564
110 changed files with 1135 additions and 721 deletions

View file

@ -2515,6 +2515,9 @@ bool Arguments::check_vm_args_consistency() {
status = status && check_jvmci_args_consistency();
if (EnableJVMCI) {
PropertyList_unique_add(&_system_properties, "jdk.internal.vm.ci.enabled", "true",
AddProperty, UnwriteableProperty, InternalProperty);
if (!ScavengeRootsInCode) {
warning("forcing ScavengeRootsInCode non-zero because JVMCI is enabled");
ScavengeRootsInCode = 1;