Mercurial > hg > graal-compiler
changeset 5561:faa9628bb37d
replaced use of HotSpot fast_new_instance_init_check stub with new_instance_stub as both the XIR and Java snippets include the fast allocation path and the initialization check
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 11 Jun 2012 15:34:33 +0200 |
parents | 12dc45f4fc14 |
children | 4ffc061dc71a |
files | graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java src/share/vm/graal/graalCompilerToVM.cpp |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java Mon Jun 11 15:32:46 2012 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotVMConfig.java Mon Jun 11 15:34:33 2012 +0200 @@ -89,7 +89,6 @@ public long debugStub; public long instanceofStub; public long newInstanceStub; - public long unresolvedNewInstanceStub; public long newTypeArrayStub; public long newObjectArrayStub; public long newMultiArrayStub;
--- a/src/share/vm/graal/graalCompilerToVM.cpp Mon Jun 11 15:32:46 2012 +0200 +++ b/src/share/vm/graal/graalCompilerToVM.cpp Mon Jun 11 15:34:33 2012 +0200 @@ -818,8 +818,7 @@ set_long(env, config, "debugStub", VmIds::addStub((address)warning)); set_long(env, config, "instanceofStub", VmIds::addStub(Runtime1::entry_for(Runtime1::slow_subtype_check_id))); set_long(env, config, "verifyPointerStub", VmIds::addStub(Runtime1::entry_for(Runtime1::graal_verify_pointer_id))); - set_long(env, config, "newInstanceStub", VmIds::addStub(Runtime1::entry_for(Runtime1::fast_new_instance_init_check_id))); - set_long(env, config, "unresolvedNewInstanceStub", VmIds::addStub(Runtime1::entry_for(Runtime1::new_instance_id))); + set_long(env, config, "newInstanceStub", VmIds::addStub(Runtime1::entry_for(Runtime1::new_instance_id))); set_long(env, config, "newTypeArrayStub", VmIds::addStub(Runtime1::entry_for(Runtime1::new_type_array_id))); set_long(env, config, "newObjectArrayStub", VmIds::addStub(Runtime1::entry_for(Runtime1::new_object_array_id))); set_long(env, config, "newMultiArrayStub", VmIds::addStub(Runtime1::entry_for(Runtime1::new_multi_array_id)));