[aarch64-port-dev ] Remove some temp changes made during merge to b110

Edward Nevill edward.nevill at linaro.org
Tue Nov 19 03:33:44 PST 2013


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 at 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 -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 ---





More information about the aarch64-port-dev mailing list