diff mbox

Remove some temp changes made during merge to b110

Message ID 1384860824.24385.4.camel@localhost.localdomain
State New
Headers show

Commit Message

Edward Nevill Nov. 19, 2013, 11:33 a.m. UTC
Hi,

The following patch backs out some temporary debug changes I made when I was doing the merge up to b110 which ended up being pushed.

Regards,
Ed.

--- CUT HERE ---
exporting patch:
# HG changeset patch
# User Edward Nevill edward.nevill@linaro.org
# Date 1384860580 0
#      Tue Nov 19 11:29:40 2013 +0000
# Node ID d88b8b0c31fc3d1da1cb2cdfe15eee6de5bd5c0d
# Parent  a9d5d7492f2fae53baccde69e7a6b4ce00cf77c7
Remove some temp changes which got left in during the merge to b110
diff mbox

Patch

diff -r a9d5d7492f2f -r d88b8b0c31fc src/share/vm/c1/c1_Compilation.cpp
--- a/src/share/vm/c1/c1_Compilation.cpp	Mon Nov 18 11:20:08 2013 +0000
+++ b/src/share/vm/c1/c1_Compilation.cpp	Tue Nov 19 11:29:40 2013 +0000
@@ -343,10 +343,8 @@ 
     // 3 bytes per character.  We concatenate three such strings.
     // Yes, I know this is ridiculous, but it's debug code and glibc
     // allocates large arrays very efficiently.
-//    size_t len = (65536 * 3) * 3;
-//    char *name = new char[len];
-    size_t len = 1024;
-    char name[1024];
+    size_t len = (65536 * 3) * 3;
+    char *name = new char[len];
 
     strncpy(name, _method->holder()->name()->as_utf8(), len);
     for (char *p = strpbrk(name, "/"); p; p = strpbrk(p, "/")) {
diff -r a9d5d7492f2f -r d88b8b0c31fc src/share/vm/c1/c1_Runtime1.cpp
--- a/src/share/vm/c1/c1_Runtime1.cpp	Mon Nov 18 11:20:08 2013 +0000
+++ b/src/share/vm/c1/c1_Runtime1.cpp	Tue Nov 19 11:29:40 2013 +0000
@@ -235,10 +235,8 @@ 
                                                  sasm->must_gc_arguments());
 #ifdef BUILTIN_SIM
   if (NotifySimulator) {
-//    size_t len = 65536;
-//    char *name = new char[len];
-    size_t len = 1024;
-    char name[1024];
+    size_t len = 65536;
+    char *name = new char[len];
 
     // tell the sim about the new stub code
     AArch64Simulator *simulator = AArch64Simulator::get_current(UseSimulatorCache, DisableBCCheck);
--- CUT HERE ---