mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-25 03:55:32 +08:00
natGCInfo.cc (nomem_handler): Use oomDumpName as dump file name base.
* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as dump file name base. From-SVN: r150166
This commit is contained in:
parent
394a5b34b1
commit
2cf7e0f0db
@ -1,3 +1,8 @@
|
||||
2009-07-28 David Daney <ddaney@caviumnetworks.com>
|
||||
|
||||
* gnu/gcj/util/natGCInfo.cc (nomem_handler): Use oomDumpName as
|
||||
dump file name base.
|
||||
|
||||
2009-07-27 Andrew John Hughes <ahughes@redhat.com>
|
||||
|
||||
PR libgcj/40616
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user