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

Side by Side Diff: Source/platform/heap/ThreadState.h

Issue 850663002: Oilpan: fix computation of ThreadState::m_collectionRate. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Undo ill-effects of previous patchset Created 5 years, 11 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
« no previous file with comments | « no previous file | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 StackState m_stackState; 627 StackState m_stackState;
628 intptr_t* m_startOfStack; 628 intptr_t* m_startOfStack;
629 intptr_t* m_endOfStack; 629 intptr_t* m_endOfStack;
630 void* m_safePointScopeMarker; 630 void* m_safePointScopeMarker;
631 Vector<Address> m_safePointStackCopy; 631 Vector<Address> m_safePointStackCopy;
632 bool m_atSafePoint; 632 bool m_atSafePoint;
633 Vector<Interruptor*> m_interruptors; 633 Vector<Interruptor*> m_interruptors;
634 bool m_didV8GCAfterLastGC; 634 bool m_didV8GCAfterLastGC;
635 bool m_sweepForbidden; 635 bool m_sweepForbidden;
636 size_t m_noAllocationCount; 636 size_t m_noAllocationCount;
637 size_t m_allocatedObjectSizeBeforeSweeping; 637 size_t m_allocatedObjectSizeBeforeGC;
638 ThreadHeap* m_heaps[NumberOfHeaps]; 638 ThreadHeap* m_heaps[NumberOfHeaps];
639 639
640 Vector<OwnPtr<CleanupTask>> m_cleanupTasks; 640 Vector<OwnPtr<CleanupTask>> m_cleanupTasks;
641 bool m_isTerminating; 641 bool m_isTerminating;
642 642
643 bool m_shouldFlushHeapDoesNotContainCache; 643 bool m_shouldFlushHeapDoesNotContainCache;
644 double m_collectionRate; 644 double m_collectionRate;
645 GCState m_gcState; 645 GCState m_gcState;
646 646
647 CallbackStack* m_weakCallbackStack; 647 CallbackStack* m_weakCallbackStack;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 m_locked = false; 725 m_locked = false;
726 } 726 }
727 727
728 MutexBase& m_mutex; 728 MutexBase& m_mutex;
729 bool m_locked; 729 bool m_locked;
730 }; 730 };
731 731
732 } // namespace blink 732 } // namespace blink
733 733
734 #endif // ThreadState_h 734 #endif // ThreadState_h
OLDNEW
« no previous file with comments | « no previous file | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698