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

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

Issue 143183006: Disable concurrent osr for test-mark-compact/BootUpMemoryUse. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 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 | « no previous file | no next file » | 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 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 } 489 }
490 close(fd); 490 close(fd);
491 return memory_use; 491 return memory_use;
492 } 492 }
493 493
494 494
495 TEST(BootUpMemoryUse) { 495 TEST(BootUpMemoryUse) {
496 intptr_t initial_memory = MemoryInUse(); 496 intptr_t initial_memory = MemoryInUse();
497 // Avoid flakiness. 497 // Avoid flakiness.
498 FLAG_crankshaft = false; 498 FLAG_crankshaft = false;
499 FLAG_concurrent_osr = false;
499 FLAG_concurrent_recompilation = false; 500 FLAG_concurrent_recompilation = false;
500 501
501 // Only Linux has the proc filesystem and only if it is mapped. If it's not 502 // Only Linux has the proc filesystem and only if it is mapped. If it's not
502 // there we just skip the test. 503 // there we just skip the test.
503 if (initial_memory >= 0) { 504 if (initial_memory >= 0) {
504 CcTest::InitializeVM(); 505 CcTest::InitializeVM();
505 intptr_t delta = MemoryInUse() - initial_memory; 506 intptr_t delta = MemoryInUse() - initial_memory;
506 printf("delta: %" V8_PTR_PREFIX "d kB\n", delta / 1024); 507 printf("delta: %" V8_PTR_PREFIX "d kB\n", delta / 1024);
507 if (sizeof(initial_memory) == 8) { // 64-bit. 508 if (sizeof(initial_memory) == 8) { // 64-bit.
508 if (v8::internal::Snapshot::IsEnabled()) { 509 if (v8::internal::Snapshot::IsEnabled()) {
(...skipping 26 matching lines...) Expand all
535 536
536 537
537 TEST(RegressJoinThreadsOnIsolateDeinit) { 538 TEST(RegressJoinThreadsOnIsolateDeinit) {
538 intptr_t size_limit = ShortLivingIsolate() * 2; 539 intptr_t size_limit = ShortLivingIsolate() * 2;
539 for (int i = 0; i < 10; i++) { 540 for (int i = 0; i < 10; i++) {
540 CHECK_GT(size_limit, ShortLivingIsolate()); 541 CHECK_GT(size_limit, ShortLivingIsolate());
541 } 542 }
542 } 543 }
543 544
544 #endif // __linux__ and !USE_SIMULATOR 545 #endif // __linux__ and !USE_SIMULATOR
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698