From: skybber Date: Sat, 14 Mar 2015 12:47:18 +0000 (+0100) Subject: TRACE gcc compiling problem resolved X-Git-Tag: light-jdk8u45+3~7^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F62%2Fhead;p=dcevm.git TRACE gcc compiling problem resolved --- 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();