diff src/share/vm/c1x/c1x_CodeInstaller.cpp @ 2054:3c0a889a176b

Added GC stats. Enabling intrinsics.
author Thomas Wuerthinger <wuerthinger@ssw.jku.at>
date Wed, 12 Jan 2011 19:14:32 +0100
parents b6d2c238e585
children 9508a52cbd32
line wrap: on
line diff
--- a/src/share/vm/c1x/c1x_CodeInstaller.cpp	Tue Jan 11 17:02:38 2011 +0100
+++ b/src/share/vm/c1x/c1x_CodeInstaller.cpp	Wed Jan 12 19:14:32 2011 +0100
@@ -520,9 +520,12 @@
       call->set_destination(Runtime1::entry_for(Runtime1::c1x_arithmetic_drem_id));
       _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand);
       TRACE_C1X_3("CiRuntimeCall::ArithmeticDrem()");
+    } else if (runtime_call == CiRuntimeCall::RegisterFinalizer()) {
+      call->set_destination(Runtime1::entry_for(Runtime1::register_finalizer_id));
+      _instructions->relocate(call->instruction_address(), runtime_call_Relocation::spec(), Assembler::call32_operand);
     } else {
-      TRACE_C1X_1("runtime_call not implemented: ");
-      IF_TRACE_C1X_1 runtime_call->print();
+      runtime_call->print();
+      fatal("runtime_call not implemented");
     }
   } else if (global_stub != NULL) {
     NativeInstruction* inst = nativeInstruction_at(_instructions->start() + pc_offset);