# HG changeset patch # User Xerxes Ranby # Date 1314961894 -7200 # Node ID a51ca707c3d28ee3ac3bca499b1eaed56d7a3b6d # Parent 8ac25d11a9e5ce469d9370e52b0d39204e619e71 PR772: JamVM + jtreg LocalOnlyTest sends SIGQUIT to all processes on exit. 2011-08-10 Xerxes Ranby 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. diff -r 8ac25d11a9e5 -r a51ca707c3d2 ChangeLog --- a/ChangeLog Tue Aug 09 13:16:18 2011 +0200 +++ b/ChangeLog Fri Sep 02 13:11:34 2011 +0200 @@ -1,3 +1,11 @@ +2011-08-10 Xerxes Rånby + + 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 JamVM diff -r 8ac25d11a9e5 -r a51ca707c3d2 Makefile.am --- a/Makefile.am Tue Aug 09 13:16:18 2011 +0200 +++ b/Makefile.am Fri Sep 02 13:11:34 2011 +0200 @@ -300,7 +300,8 @@ if BUILD_JAMVM ICEDTEA_PATCHES += \ - patches/jamvm/remove-sun.misc.Perf-debug-code.patch + patches/jamvm/remove-sun.misc.Perf-debug-code.patch \ + patches/jamvm/jmm_GetLongAttribute_201.patch endif if ENABLE_PULSE_JAVA diff -r 8ac25d11a9e5 -r a51ca707c3d2 NEWS --- a/NEWS Tue Aug 09 13:16:18 2011 +0200 +++ b/NEWS Fri Sep 02 13:11:34 2011 +0200 @@ -30,6 +30,7 @@ - Add missing describe_pd method for Zero. * JamVM - JamVM is self-hosting. + - 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 8ac25d11a9e5 -r a51ca707c3d2 patches/jamvm/jmm_GetLongAttribute_201.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/jamvm/jmm_GetLongAttribute_201.patch Fri Sep 02 13:11:34 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);