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

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

Issue 1363243003: Manage WebGLRenderingContextBase's weak refs manually without Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reinstate WebGLContextObject dtor (non-Oilpan) Created 5 years, 2 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
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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 intptr_t* m_endOfStack; 773 intptr_t* m_endOfStack;
774 void* m_safePointScopeMarker; 774 void* m_safePointScopeMarker;
775 Vector<Address> m_safePointStackCopy; 775 Vector<Address> m_safePointStackCopy;
776 bool m_atSafePoint; 776 bool m_atSafePoint;
777 InterruptorVector m_interruptors; 777 InterruptorVector m_interruptors;
778 bool m_sweepForbidden; 778 bool m_sweepForbidden;
779 size_t m_noAllocationCount; 779 size_t m_noAllocationCount;
780 size_t m_gcForbiddenCount; 780 size_t m_gcForbiddenCount;
781 int m_persistentAllocated; 781 int m_persistentAllocated;
782 int m_persistentFreed; 782 int m_persistentFreed;
783 int m_pageNavigationCount;
783 BaseHeap* m_heaps[NumberOfHeaps]; 784 BaseHeap* m_heaps[NumberOfHeaps];
784 785
785 int m_vectorBackingHeapIndex; 786 int m_vectorBackingHeapIndex;
786 size_t m_heapAges[NumberOfHeaps]; 787 size_t m_heapAges[NumberOfHeaps];
787 size_t m_currentHeapAges; 788 size_t m_currentHeapAges;
788 789
789 bool m_isTerminating; 790 bool m_isTerminating;
790 GarbageCollectedMixinConstructorMarker* m_gcMixinMarker; 791 GarbageCollectedMixinConstructorMarker* m_gcMixinMarker;
791 792
792 bool m_shouldFlushHeapDoesNotContainCache; 793 bool m_shouldFlushHeapDoesNotContainCache;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
831 }; 832 };
832 833
833 template<> class ThreadStateFor<AnyThread> { 834 template<> class ThreadStateFor<AnyThread> {
834 public: 835 public:
835 static ThreadState* state() { return ThreadState::current(); } 836 static ThreadState* state() { return ThreadState::current(); }
836 }; 837 };
837 838
838 } // namespace blink 839 } // namespace blink
839 840
840 #endif // ThreadState_h 841 #endif // ThreadState_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698