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

Side by Side Diff: test/cctest/test-mark-compact.cc

Issue 12729023: first step to remove unsafe handles (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: issue with debug build Created 7 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/cctest/test-log-stack-tracer.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 17 matching lines...) Expand all
28 #include <stdlib.h> 28 #include <stdlib.h>
29 29
30 #ifdef __linux__ 30 #ifdef __linux__
31 #include <sys/types.h> 31 #include <sys/types.h>
32 #include <sys/stat.h> 32 #include <sys/stat.h>
33 #include <fcntl.h> 33 #include <fcntl.h>
34 #include <unistd.h> 34 #include <unistd.h>
35 #include <errno.h> 35 #include <errno.h>
36 #endif 36 #endif
37 37
38
39 // TODO(dcarney): remove
40 #define V8_ALLOW_ACCESS_TO_PERSISTENT_ARROW
41 #define V8_ALLOW_ACCESS_TO_PERSISTENT_IMPLICIT
42
38 #include "v8.h" 43 #include "v8.h"
39 44
40 #include "global-handles.h" 45 #include "global-handles.h"
41 #include "snapshot.h" 46 #include "snapshot.h"
42 #include "cctest.h" 47 #include "cctest.h"
43 48
44 using namespace v8::internal; 49 using namespace v8::internal;
45 50
46 51
47 TEST(MarkingDeque) { 52 TEST(MarkingDeque) {
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 if (v8::internal::Snapshot::IsEnabled()) { 563 if (v8::internal::Snapshot::IsEnabled()) {
559 CHECK_LE(delta, 2900 * 1024); 564 CHECK_LE(delta, 2900 * 1024);
560 } else { 565 } else {
561 CHECK_LE(delta, 3400 * 1024); 566 CHECK_LE(delta, 3400 * 1024);
562 } 567 }
563 } 568 }
564 } 569 }
565 } 570 }
566 571
567 #endif // __linux__ and !USE_SIMULATOR 572 #endif // __linux__ and !USE_SIMULATOR
OLDNEW
« no previous file with comments | « test/cctest/test-log-stack-tracer.cc ('k') | test/cctest/test-parsing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698