< prev index next >
src/share/vm/opto/graphKit.cpp
Print this page
rev 10514 : No need to allocate value types for uncommon trap's debug info
@@ -2083,24 +2083,10 @@
}
// Clear out dead values from the debug info.
kill_dead_locals();
- // Make sure all value types are allocated before calling uncommon_trap
- for (JVMState* jvms = this->jvms(); jvms != NULL; jvms = jvms->caller()) {
- SafePointNode* map = jvms->map();
- // Search for value type locals
- for (int i = 0; i < jvms->loc_size(); ++i) {
- Node* local = map->local(jvms, i);
- if (local->is_ValueType()) {
- // Allocate value type
- local = local->as_ValueType()->store_to_memory(this);
- map->set_local(jvms, i, local);
- }
- }
- }
-
// Now insert the uncommon trap subroutine call
address call_addr = SharedRuntime::uncommon_trap_blob()->entry_point();
const TypePtr* no_memory_effects = NULL;
// Pass the index of the class to be loaded
Node* call = make_runtime_call(RC_NO_LEAF | RC_UNCOMMON |
< prev index next >