diff options
-rw-r--r-- | libjava/ChangeLog | 5 | ||||
-rw-r--r-- | libjava/gnu/gcj/util/natGCInfo.cc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 3d9868ef8e6..02fc607e328 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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 diff --git a/libjava/gnu/gcj/util/natGCInfo.cc b/libjava/gnu/gcj/util/natGCInfo.cc index a9240961f8b..a5936174da7 100644 --- a/libjava/gnu/gcj/util/natGCInfo.cc +++ b/libjava/gnu/gcj/util/natGCInfo.cc @@ -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); |