changeset in /hg/icedtea: 2007-11-30 Gary Benson <gbenson at redh...

Gary Benson gbenson at redhat.com
Fri Nov 30 07:36:10 PST 2007


changeset a16c1b24fc25 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=a16c1b24fc25
description:
	2007-11-30  Gary Benson  <gbenson at redhat.com>

		* ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp
		(generate_native_entry): Add support for UseMembar.

diffstat:

2 files changed, 10 insertions(+), 2 deletions(-)
ChangeLog                                           |    5 +++++
ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp |    7 +++++--

diffs (30 lines):

diff -r f35ffd73f3c4 -r a16c1b24fc25 ChangeLog
--- a/ChangeLog	Fri Nov 30 10:28:41 2007 -0500
+++ b/ChangeLog	Fri Nov 30 10:36:04 2007 -0500
@@ -1,3 +1,8 @@ 2007-11-30  Gary Benson  <gbenson at redhat
+2007-11-30  Gary Benson  <gbenson at redhat.com>
+
+	* ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp
+	(generate_native_entry): Add support for UseMembar.
+
 2007-11-30  Gary Benson  <gbenson at redhat.com>
 
 	Fixes Bug #83
diff -r f35ffd73f3c4 -r a16c1b24fc25 ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp
--- a/ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp	Fri Nov 30 10:28:41 2007 -0500
+++ b/ports/hotspot/src/cpu/ppc/vm/cppInterpreter_ppc.cpp	Fri Nov 30 10:36:04 2007 -0500
@@ -618,9 +618,12 @@ address InterpreterGenerator::generate_n
   __ load (r0, _thread_in_native_trans);
   __ stw (r0, thread_state_addr);
 
-  // Write serialization page
+  // Ensure the new state is visible to the VM thread.
   if(os::is_MP()) {
-    __ serialize_memory (r3, r4);
+    if (UseMembar)
+      __ sync ();
+    else
+      __ serialize_memory (r3, r4);
   }
 
   // Check for safepoint operation in progress and/or pending



More information about the distro-pkg-dev mailing list