LCOV - code coverage report
Current view: top level - src/heap - stress-marking-observer.cc (source / functions) Hit Total Coverage
Test: app.info Lines: 1 6 16.7 %
Date: 2019-01-20 Functions: 2 4 50.0 %

          Line data    Source code
       1             : // Copyright 2017 the V8 project authors. All rights reserved.
       2             : // Use of this source code is governed by a BSD-style license that can be
       3             : // found in the LICENSE file.
       4             : 
       5             : #include "src/heap/stress-marking-observer.h"
       6             : 
       7             : namespace v8 {
       8             : namespace internal {
       9             : 
      10             : // TODO(majeski): meaningful step_size
      11           0 : StressMarkingObserver::StressMarkingObserver(Heap& heap)
      12           0 :     : AllocationObserver(64), heap_(heap) {}
      13             : 
      14           0 : void StressMarkingObserver::Step(int bytes_allocated, Address soon_object,
      15             :                                  size_t size) {
      16             :   heap_.StartIncrementalMarkingIfAllocationLimitIsReached(Heap::kNoGCFlags,
      17           0 :                                                           kNoGCCallbackFlags);
      18           0 : }
      19             : 
      20             : }  // namespace internal
      21      183867 : }  // namespace v8

Generated by: LCOV version 1.10