aboutsummaryrefslogtreecommitdiff
path: root/libgo/runtime/runtime.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2012-04-20 04:58:26 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2012-04-20 04:58:26 +0000
commit8a72417502730163b7a149310f90140610ca8be0 (patch)
treebe7f67d3d4b1e832ed43c6bf3fe2047579eb1d9f /libgo/runtime/runtime.h
parent8198dc134f0026841ebd5e1ee55190e5ff540348 (diff)
downloadgcc-8a72417502730163b7a149310f90140610ca8be0.zip
gcc-8a72417502730163b7a149310f90140610ca8be0.tar.gz
gcc-8a72417502730163b7a149310f90140610ca8be0.tar.bz2
runtime: Ignore stack sizes when deciding when to GC.
Also allocate heap bitmaps bit in page size units and clear context when putting G structures on free list. From-SVN: r186607
Diffstat (limited to 'libgo/runtime/runtime.h')
-rw-r--r--libgo/runtime/runtime.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgo/runtime/runtime.h b/libgo/runtime/runtime.h
index a81c210..d379f99 100644
--- a/libgo/runtime/runtime.h
+++ b/libgo/runtime/runtime.h
@@ -463,3 +463,8 @@ struct root_list {
};
void __go_register_gc_roots(struct root_list*);
+
+// Size of stack space allocated using Go's allocator.
+// This will be 0 when using split stacks, as in that case
+// the stacks are allocated by the splitstack library.
+extern uintptr runtime_stacks_sys;