mirror of git://gcc.gnu.org/git/gcc.git
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>
|
2009-07-27 Andrew John Hughes <ahughes@redhat.com>
|
||||||
|
|
||||||
PR libgcj/40616
|
PR libgcj/40616
|
||||||
|
|
|
@ -407,7 +407,7 @@ nomem_handler(size_t size)
|
||||||
if (oomDumpName)
|
if (oomDumpName)
|
||||||
{
|
{
|
||||||
char temp[strlen(oomDumpName) + 20];
|
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);
|
printf("nomem_handler(%zd) called\n", size);
|
||||||
gc_ok--;
|
gc_ok--;
|
||||||
GC_enumerator x(temp);
|
GC_enumerator x(temp);
|
||||||
|
|
Loading…
Reference in New Issue