/hg/icedtea6: PR772: JamVM + jtreg LocalOnlyTest sends SIGQUIT t...

xranby at icedtea.classpath.org xranby at icedtea.classpath.org
Wed Aug 10 07:34:04 PDT 2011


changeset 7c0028a7e2a3 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=7c0028a7e2a3
author: Xerxes Ranby <xerxes at zafena.se>
date: Wed Aug 10 16:33:51 2011 +0200

	PR772: JamVM + jtreg LocalOnlyTest sends SIGQUIT to all processes on
	exit.

	2011-08-10 Xerxes Ranby <xerxes at zafena.se>

	 JamVM
		- PR772: jtreg LocalOnlyTest sends SIGQUIT to all processes on exit.
		* NEWS: Updated.
		* patches/jamvm/jmm_GetLongAttribute_201.patch: New patch.
		* Makefile.am: Apply JamVM patch.


diffstat:

 ChangeLog                                    |   8 ++++++++
 Makefile.am                                  |   5 +++++
 NEWS                                         |   1 +
 patches/jamvm/jmm_GetLongAttribute_201.patch |  21 +++++++++++++++++++++
 4 files changed, 35 insertions(+), 0 deletions(-)

diffs (67 lines):

diff -r 305c98561e8d -r 7c0028a7e2a3 ChangeLog
--- a/ChangeLog	Tue Aug 09 11:34:28 2011 +0200
+++ b/ChangeLog	Wed Aug 10 16:33:51 2011 +0200
@@ -1,3 +1,11 @@
+2011-08-10  Xerxes RÃ¥nby  <xerxes at zafena.se>
+
+	JamVM
+	- PR772: jtreg LocalOnlyTest sends SIGQUIT to all processes on exit.
+	* NEWS: Updated.
+	* patches/jamvm/jmm_GetLongAttribute_201.patch: New patch.
+	* Makefile.am: Apply JamVM patch.
+
 2011-08-09  Xerxes RÃ¥nby  <xerxes at zafena.se>
 
 	CACAO
diff -r 305c98561e8d -r 7c0028a7e2a3 Makefile.am
--- a/Makefile.am	Tue Aug 09 11:34:28 2011 +0200
+++ b/Makefile.am	Wed Aug 10 16:33:51 2011 +0200
@@ -391,6 +391,11 @@
 	patches/cacao/ignore-tests.patch
 endif
 
+if BUILD_JAMVM
+ICEDTEA_PATCHES += \
+        patches/jamvm/jmm_GetLongAttribute_201.patch
+endif
+
 if ENABLE_PULSE_JAVA
 ICEDTEA_PATCHES += \
 	patches/pulse-soundproperties.patch
diff -r 305c98561e8d -r 7c0028a7e2a3 NEWS
--- a/NEWS	Tue Aug 09 11:34:28 2011 +0200
+++ b/NEWS	Wed Aug 10 16:33:51 2011 +0200
@@ -372,6 +372,7 @@
     creating a nasty race.
   - Threadlist & threadobject improvements.
 * JamVM
+  - PR772: jtreg LocalOnlyTest sends SIGQUIT to all processes on exit.
   - Remove empty clobber.
   - Use dots instead of slashes in classname for exception.
   - Correct thrown exception by bootstrap loader.
diff -r 305c98561e8d -r 7c0028a7e2a3 patches/jamvm/jmm_GetLongAttribute_201.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/jamvm/jmm_GetLongAttribute_201.patch	Wed Aug 10 16:33:51 2011 +0200
@@ -0,0 +1,22 @@
+Index: jamvm/jamvm/src/classlib/openjdk/management.c
+===================================================================
+--- jamvm.orig/jamvm/src/classlib/openjdk/management.c	2011-08-09 23:39:21.067466386 +0200
++++ jamvm/jamvm/src/classlib/openjdk/management.c	2011-08-09 23:43:21.987466384 +0200
+@@ -146,6 +146,9 @@
+         case JMM_JVM_INIT_DONE_TIME_MS:
+             result = 0;
+             break;
++        case JMM_OS_PROCESS_ID:
++            result = getpid();
++            break;
+ 
+         case JMM_CLASS_LOADED_COUNT:
+         case JMM_CLASS_UNLOADED_COUNT:
+@@ -153,7 +156,6 @@
+         case JMM_THREAD_LIVE_COUNT:
+         case JMM_THREAD_PEAK_COUNT:
+         case JMM_THREAD_DAEMON_COUNT:
+-        case JMM_OS_PROCESS_ID:
+ 
+         default:
+             UNIMPLEMENTED("jmm_GetLongAttribute: Unknown attribute %d", att);



More information about the distro-pkg-dev mailing list