Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: test/mjsunit/regress/regress-625752.js

Issue 2122603004: [heap] Track length for array buffers to avoid free-ing dependency (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix exception Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/array-buffer-tracker-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-625752.js
diff --git a/test/mjsunit/regress/regress-625752.js b/test/mjsunit/regress/regress-625752.js
new file mode 100644
index 0000000000000000000000000000000000000000..e0e9558f2934672aa54ee80495c5a4ef13cdd0ae
--- /dev/null
+++ b/test/mjsunit/regress/regress-625752.js
@@ -0,0 +1,10 @@
+// Copyright 2016 the V8 project authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+v3 = Math.floor(0xFFFFFFFF / 4) + 1;
+Object.prototype.__defineGetter__(1, function() {
+this[1] = Array(0x8000).join();
+})
+try { v38 = new ArrayBuffer(v3); } catch (e) {}
+try { v41 = new Intl.DateTimeFormat(); } catch (e) {}
« no previous file with comments | « src/heap/array-buffer-tracker-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698