* [PATCH] Fix filename generation for out of memory dumps.
@ 2009-07-28 4:18 David Daney
2009-07-28 8:31 ` Andrew Haley
2009-07-28 8:33 ` Andrew Haley
0 siblings, 2 replies; 3+ messages in thread
From: David Daney @ 2009-07-28 4:18 UTC (permalink / raw)
To: java-patches; +Cc: David Daney
[-- Attachment #1: Type: text/plain, Size: 431 bytes --]
As noted here:
http://gcc.gnu.org/ml/java/2009-07/msg00067.html
The filename generation in the out of memory dumps is a bit screwed up.
This patch restores it to its intended state.
Bootstrapped and regression tested on x86_64-pc-linux-gnu with no
regressions.
OK to commit?
2009-07-28 David Daney <ddaney@caviumnetworks.com>
* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
dump file name base.
[-- Attachment #2: gcinfo.patch --]
[-- Type: text/plain, Size: 527 bytes --]
Index: gnu/gcj/util/natGCInfo.cc
===================================================================
--- gnu/gcj/util/natGCInfo.cc (revision 150090)
+++ gnu/gcj/util/natGCInfo.cc (working copy)
@@ -407,7 +407,7 @@ nomem_handler(size_t size)
if (oomDumpName)
{
char temp[strlen(oomDumpName) + 20];
- sprintf(temp, "%s%03d", temp, GC_dump_count++);
+ sprintf(temp, "%s%03d", oomDumpName, GC_dump_count++);
printf("nomem_handler(%zd) called\n", size);
gc_ok--;
GC_enumerator x(temp);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix filename generation for out of memory dumps.
2009-07-28 4:18 [PATCH] Fix filename generation for out of memory dumps David Daney
@ 2009-07-28 8:31 ` Andrew Haley
2009-07-28 8:33 ` Andrew Haley
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2009-07-28 8:31 UTC (permalink / raw)
To: David Daney; +Cc: java-patches, David Daney
On 07/28/2009 06:18 AM, David Daney wrote:
> As noted here:
>
> http://gcc.gnu.org/ml/java/2009-07/msg00067.html
>
> The filename generation in the out of memory dumps is a bit screwed up.
> This patch restores it to its intended state.
>
> Bootstrapped and regression tested on x86_64-pc-linux-gnu with no
> regressions.
>
> OK to commit?
>
> 2009-07-28 David Daney <ddaney@caviumnetworks.com>
>
> * gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
> dump file name base.
>
OK.
Andrew.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Fix filename generation for out of memory dumps.
2009-07-28 4:18 [PATCH] Fix filename generation for out of memory dumps David Daney
2009-07-28 8:31 ` Andrew Haley
@ 2009-07-28 8:33 ` Andrew Haley
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2009-07-28 8:33 UTC (permalink / raw)
To: David Daney; +Cc: java-patches, David Daney
On 07/28/2009 06:18 AM, David Daney wrote:
> As noted here:
>
> http://gcc.gnu.org/ml/java/2009-07/msg00067.html
>
> The filename generation in the out of memory dumps is a bit screwed up.
> This patch restores it to its intended state.
>
> Bootstrapped and regression tested on x86_64-pc-linux-gnu with no
> regressions.
>
> OK to commit?
>
> 2009-07-28 David Daney <ddaney@caviumnetworks.com>
>
> * gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
> dump file name base.
>
OK.
Andrew.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-07-28 8:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-28 4:18 [PATCH] Fix filename generation for out of memory dumps David Daney
2009-07-28 8:31 ` Andrew Haley
2009-07-28 8:33 ` Andrew Haley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).