diff options
Diffstat (limited to 'runtime/gc_root.h')
-rw-r--r-- | runtime/gc_root.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/gc_root.h b/runtime/gc_root.h index 2f4da3f2ca..0d3c93b83d 100644 --- a/runtime/gc_root.h +++ b/runtime/gc_root.h @@ -30,6 +30,9 @@ class Object; template <size_t kBufferSize> class BufferedRootVisitor; +// Dependent on pointer size so that we don't have frames that are too big on 64 bit. +static const size_t kDefaultBufferedRootCount = 1024 / sizeof(void*); + enum RootType { kRootUnknown = 0, kRootJNIGlobal, |