From 909965796f70a0be425b072d47270454de8a89e6 Mon Sep 17 00:00:00 2001 From: skybber Date: Sat, 14 Mar 2015 13:47:18 +0100 Subject: [PATCH] TRACE gcc compiling problem resolved --- hotspot/.hg/patches/light-jdk8u20-b22.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hotspot/.hg/patches/light-jdk8u20-b22.patch b/hotspot/.hg/patches/light-jdk8u20-b22.patch index d9c14103..69bb6e48 100644 --- a/hotspot/.hg/patches/light-jdk8u20-b22.patch +++ b/hotspot/.hg/patches/light-jdk8u20-b22.patch @@ -1394,7 +1394,7 @@ index 0d6d00d..3b1866a 100644 for (PreviousVersionNode * pv_node = pvw.next_previous_version(); diff --git a/src/share/vm/prims/jvmtiRedefineClasses2.cpp b/src/share/vm/prims/jvmtiRedefineClasses2.cpp new file mode 100644 -index 0000000..1a0406e +index 0000000..dc76c3d --- /dev/null +++ b/src/share/vm/prims/jvmtiRedefineClasses2.cpp @@ -0,0 +1,2128 @@ @@ -2935,7 +2935,7 @@ index 0000000..1a0406e + for (int j = 0; j < _matching_methods_length; ++j) { + Method* old_method = _old_methods->at(_matching_old_methods[j]); + jmethodID jmid = old_method->find_jmethod_id_or_null(); -+ RC_TRACE(0x00008000, ("matching method %s, jmid %d", old_method->name_and_sig_as_C_string(), jmid)); ++ RC_TRACE(0x00008000, ("matching method %s, jmid %d", old_method->name_and_sig_as_C_string(), *((int *)&jmid))); + if (old_method->new_version() != NULL && jmid == NULL) { + // (DCEVM) Have to create jmethodID in this case + jmid = old_method->jmethod_id(); -- 2.39.5