Various minor cctest fixes to make ASAN a bit happier.
authorsvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 15 May 2013 08:59:28 +0000 (08:59 +0000)
committersvenpanne@chromium.org <svenpanne@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 15 May 2013 08:59:28 +0000 (08:59 +0000)
commitb1bd641078aa104ac87a556901eac0565e3ca16f
treefad509b77d3f602aad05b17ebde20b13238c85de
parent77f19618a0398b0225f64cfa433815d30fe5fe6a
Various minor cctest fixes to make ASAN a bit happier.

   * Running with ASAN needs more stack, so don't set resource constraints too
     tight.

   * Checking boot time memory usage doesn't make sense when running with ASAN,
     it eats tons of memory for itself.

   * Fixed a malloc/delete[] mismatch: Not surprisingly, the pointer wrapped by
     a SmartArrayPointer should better be allocated by, well, NewArray...

Even with these 3 fixes, we still have a few failures when running our test
suite with ASAN. Most of them are either timeouts or failures caused by greatly
increased stack usage.

R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/15096011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14674 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
test/cctest/test-api.cc
test/cctest/test-mark-compact.cc
test/cctest/test-parsing.cc