changeset 7001:3d24343d519f

Changes for HSX23
author chrisphi
date Wed, 22 Apr 2015 05:12:52 +0100
parents f8dc944f872a
children d675b0325ebf
files src/cpu/zero/vm/asm_helper.cpp src/share/vm/prims/jvmtiExport.hpp src/share/vm/utilities/vmError.cpp src/share/vm/utilities/vmError.hpp
diffstat 4 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/cpu/zero/vm/asm_helper.cpp	Tue May 28 19:43:58 2013 +0200
+++ b/src/cpu/zero/vm/asm_helper.cpp	Wed Apr 22 05:12:52 2015 +0100
@@ -590,7 +590,7 @@
   nl();
   print_def("JNIHANDLEBLOCK_TOP", offset_of(JNIHandleBlock, _top));
   nl();
-  print_def("KLASS_PART", klassOopDesc::klass_part_offset_in_bytes());
+  print_def("KLASS_PART", sizeof(klassOopDesc));
   print_def("KLASS_ACCESSFLAGS", offset_of(Klass, _access_flags));
   print_def("KLASS_JAVA_MIRROR", offset_of(Klass, _java_mirror));
   print_def("INSTANCEKLASS_INITSTATE", offset_of(instanceKlass, _init_state));
--- a/src/share/vm/prims/jvmtiExport.hpp	Tue May 28 19:43:58 2013 +0200
+++ b/src/share/vm/prims/jvmtiExport.hpp	Wed Apr 22 05:12:52 2015 +0100
@@ -166,12 +166,6 @@
   static void post_compiled_method_load(JvmtiEnv* env, const jmethodID method, const jint length,
                                         const void *code_begin, const jint map_length,
                                         const jvmtiAddrLocationMap* map) NOT_JVMTI_RETURN;
-#ifdef __arm__
-  static void post_compiled_method_load(const methodOop method, const jint length,
-					const void *code_begin, const jint map_length,
-					const jvmtiAddrLocationMap* map,
-					const void *compile_info) KERNEL_RETURN;
-#endif // __arm__
   static void post_dynamic_code_generated(JvmtiEnv* env, const char *name, const void *code_begin,
                                           const void *code_end) NOT_JVMTI_RETURN;
 
@@ -332,6 +326,12 @@
                                         JvmtiCachedClassFileData **cache_ptr) NOT_JVMTI_RETURN;
   static void post_native_method_bind(Method* method, address* function_ptr) NOT_JVMTI_RETURN;
   static void post_compiled_method_load(nmethod *nm) NOT_JVMTI_RETURN;
+#ifdef __arm__
+  static void post_compiled_method_load(const methodOop method, const jint length,
+					const void *code_begin, const jint map_length,
+					const jvmtiAddrLocationMap* map,
+					const void *compile_info) KERNEL_RETURN;
+#endif // __arm__
   static void post_dynamic_code_generated(const char *name, const void *code_begin, const void *code_end) NOT_JVMTI_RETURN;
 
   // used to post a CompiledMethodUnload event
--- a/src/share/vm/utilities/vmError.cpp	Tue May 28 19:43:58 2013 +0200
+++ b/src/share/vm/utilities/vmError.cpp	Wed Apr 22 05:12:52 2015 +0100
@@ -258,7 +258,7 @@
 }
 
 #ifdef PRODUCT
-extern "C" void ps() {
+extern "C" void _ps() {
   fdStream out(defaultStream::output_fd());
   JavaThread* thread = JavaThread::active();
   char *buf = new char[1024*1024];
--- a/src/share/vm/utilities/vmError.hpp	Tue May 28 19:43:58 2013 +0200
+++ b/src/share/vm/utilities/vmError.hpp	Wed Apr 22 05:12:52 2015 +0100
@@ -31,7 +31,7 @@
 class VM_ReportJavaOutOfMemory;
 
 #ifdef PRODUCT
-extern "C" void ps();
+extern "C" void _ps();
 #endif // PRODUCT
 
 class VMError : public StackObj {
@@ -104,7 +104,7 @@
   static fdStream log; // error log used by VMError::report_and_die()
 
 #ifdef PRODUCT
-  friend void ps();
+  friend void _ps();
 #endif // PRODUCT
 
 public: