Mercurial > hg > release > icedtea7-2.0
changeset 2467:a51ca707c3d2
PR772: JamVM + jtreg LocalOnlyTest sends SIGQUIT to all processes on exit.
2011-08-10 Xerxes Ranby <xerxes@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.
author | Xerxes Ranby <xerxes@zafena.se> |
---|---|
date | Fri, 02 Sep 2011 13:11:34 +0200 |
parents | 8ac25d11a9e5 |
children | 56dac28b4cb5 |
files | ChangeLog Makefile.am NEWS patches/jamvm/jmm_GetLongAttribute_201.patch |
diffstat | 4 files changed, 33 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <xerxes@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@zafena.se> JamVM
--- 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
--- 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.
--- /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);