view patches/icedtea-cc-interp-jvmti.patch @ 1294:cf5fe433e739

2008-12-24 Gary Benson <gbenson@redhat.com> * patches/icedtea-cc-interp-jvmti.patch: New file. * patches/icedtea-cc-interp-no-fer.patch: Deleted file. * Makefile.am (ICEDTEA_PATCHES): Apply the above. * HACKING: Document the above.
author Gary Benson <gbenson@redhat.com>
date Wed, 24 Dec 2008 08:25:40 -0500
parents
children 8ed37e6cc2df
line wrap: on
line source

--- openjdk/hotspot/src/share/vm/prims/jvmtiManageCapabilities.cpp	2008-12-24 12:01:18.000000000 +0000
+++ openjdk/hotspot/src/share/vm/prims/jvmtiManageCapabilities.cpp	2008-12-24 12:00:29.000000000 +0000
@@ -84,7 +84,11 @@
 
   memset(&jc, 0, sizeof(jc));
   jc.can_get_bytecodes = 1;
+#ifdef CC_INTERP
+  jc.can_signal_thread = 0;
+#else
   jc.can_signal_thread = 1;
+#endif // CC_INTERP
   jc.can_get_source_file_name = 1;
   jc.can_get_line_numbers = 1;
   jc.can_get_synthetic_attribute = 1;
@@ -116,7 +120,11 @@
 
   memset(&jc, 0, sizeof(jc));
   jc.can_pop_frame = 1;
+#ifdef CC_INTERP
+  jc.can_force_early_return = 0;
+#else
   jc.can_force_early_return = 1;
+#endif // CC_INTERP
   jc.can_get_source_debug_extension = 1;
   jc.can_access_local_variables = 1;
   jc.can_maintain_original_method_order = 1;