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

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

Issue 23014007: Rename "parallel recompilation" to "concurrent recompilation". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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-heap.cc ('k') | test/mjsunit/assert-opt-and-deopt.js » ('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 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 } 534 }
535 close(fd); 535 close(fd);
536 return memory_use; 536 return memory_use;
537 } 537 }
538 538
539 539
540 TEST(BootUpMemoryUse) { 540 TEST(BootUpMemoryUse) {
541 intptr_t initial_memory = MemoryInUse(); 541 intptr_t initial_memory = MemoryInUse();
542 // Avoid flakiness. 542 // Avoid flakiness.
543 FLAG_crankshaft = false; 543 FLAG_crankshaft = false;
544 FLAG_parallel_recompilation = false; 544 FLAG_concurrent_recompilation = false;
545 545
546 // Only Linux has the proc filesystem and only if it is mapped. If it's not 546 // Only Linux has the proc filesystem and only if it is mapped. If it's not
547 // there we just skip the test. 547 // there we just skip the test.
548 if (initial_memory >= 0) { 548 if (initial_memory >= 0) {
549 CcTest::InitializeVM(); 549 CcTest::InitializeVM();
550 intptr_t delta = MemoryInUse() - initial_memory; 550 intptr_t delta = MemoryInUse() - initial_memory;
551 printf("delta: %" V8_PTR_PREFIX "d kB\n", delta / 1024); 551 printf("delta: %" V8_PTR_PREFIX "d kB\n", delta / 1024);
552 if (sizeof(initial_memory) == 8) { // 64-bit. 552 if (sizeof(initial_memory) == 8) { // 64-bit.
553 if (v8::internal::Snapshot::IsEnabled()) { 553 if (v8::internal::Snapshot::IsEnabled()) {
554 CHECK_LE(delta, 4000 * 1024); 554 CHECK_LE(delta, 4000 * 1024);
(...skipping 25 matching lines...) Expand all
580 580
581 581
582 TEST(RegressJoinThreadsOnIsolateDeinit) { 582 TEST(RegressJoinThreadsOnIsolateDeinit) {
583 intptr_t size_limit = ShortLivingIsolate() * 2; 583 intptr_t size_limit = ShortLivingIsolate() * 2;
584 for (int i = 0; i < 10; i++) { 584 for (int i = 0; i < 10; i++) {
585 CHECK_GT(size_limit, ShortLivingIsolate()); 585 CHECK_GT(size_limit, ShortLivingIsolate());
586 } 586 }
587 } 587 }
588 588
589 #endif // __linux__ and !USE_SIMULATOR 589 #endif // __linux__ and !USE_SIMULATOR
OLDNEW
« no previous file with comments | « test/cctest/test-heap.cc ('k') | test/mjsunit/assert-opt-and-deopt.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698