comparison src/share/vm/graal/graalCodeInstaller.cpp @ 3669:53636e2c9d03

No longer use shared ciFactory. Remove make_global usage in code installer.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Fri, 18 Nov 2011 14:14:37 +0100
parents 46f211fe010c
children f198b24093f3
comparison
equal deleted inserted replaced
3668:46f211fe010c 3669:53636e2c9d03
175 } else if (type == T_OBJECT) { 175 } else if (type == T_OBJECT) {
176 oop obj = CiConstant::object(value); 176 oop obj = CiConstant::object(value);
177 if (obj == NULL) { 177 if (obj == NULL) {
178 return new ConstantOopWriteValue(NULL); 178 return new ConstantOopWriteValue(NULL);
179 } else { 179 } else {
180 return new ConstantOopWriteValue(JNIHandles::make_global(obj)); 180 return new ConstantOopWriteValue(JNIHandles::make_local(obj));
181 } 181 }
182 } else if (type == T_ADDRESS) { 182 } else if (type == T_ADDRESS) {
183 return new ConstantLongValue(prim); 183 return new ConstantLongValue(prim);
184 } 184 }
185 tty->print("%i", type); 185 tty->print("%i", type);