harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r584202 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_capability.cpp
Date Fri, 12 Oct 2007 17:16:27 GMT
Author: gshimansky
Date: Fri Oct 12 10:16:27 2007
New Revision: 584202

URL: http://svn.apache.org/viewvc?rev=584202&view=rev
Log:
Applied patch from HARMONY-4924
[drlvm][jvmti] Capabilities not implemented for 64bit platforms are reported as potential


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_capability.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_capability.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_capability.cpp?rev=584202&r1=584201&r2=584202&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_capability.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/jvmti/jvmti_capability.cpp Fri Oct 12 10:16:27
2007
@@ -67,6 +67,47 @@
     1  // can_generate_object_free_events
 };
 
+#if (defined _EM64T_) || (defined _IPF_)
+
+static const jvmtiCapabilities jvmti_supported_jit_capabilities =
+{
+    1, // can_tag_objects
+    1, // can_generate_field_modification_events
+    1, // can_generate_field_access_events
+    1, // can_get_bytecodes
+    1, // can_get_synthetic_attribute
+    1, // can_get_owned_monitor_info
+    1, // can_get_current_contended_monitor
+    1, // can_get_monitor_info
+    0, // can_pop_frame
+    0, // can_redefine_classes
+    1, // can_signal_thread
+    1, // can_get_source_file_name
+    1, // can_get_line_numbers
+    1, // can_get_source_debug_extension
+    1, // can_access_local_variables
+    0, // can_maintain_original_method_order
+    0, // can_generate_single_step_events
+    0, // can_generate_exception_events
+    1, // can_generate_frame_pop_events
+    0, // can_generate_breakpoint_events
+    1, // can_suspend
+    0, // can_redefine_any_class
+    1, // can_get_current_thread_cpu_time
+    1, // can_get_thread_cpu_time
+    1, // can_generate_method_entry_events
+    1, // can_generate_method_exit_events
+    1, // can_generate_all_class_hook_events
+    1, // can_generate_compiled_method_load_events
+    1, // can_generate_monitor_events
+    1, // can_generate_vm_object_alloc_events
+    1, // can_generate_native_method_bind_events
+    1, // can_generate_garbage_collection_events
+    1  // can_generate_object_free_events
+};
+
+#else
+
 static const jvmtiCapabilities jvmti_supported_jit_capabilities =
 {
     1, // can_tag_objects
@@ -103,6 +144,8 @@
     1, // can_generate_garbage_collection_events
     1  // can_generate_object_free_events
 };
+
+#endif
 
 // 1 means that corresponding capability can be enabled
 // on JVMTI_PHASE_LIVE



Mime
View raw message