summaryrefslogtreecommitdiff
path: root/boehm-gc/mark.c
diff options
context:
space:
mode:
authorhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-29 22:52:13 +0000
committerhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-29 22:52:13 +0000
commitad6f3fb7d4a3e82822eaf88178101240b8975668 (patch)
tree4a0636ad329ed8fd9f9e42dd3c0ea29b3c5fb6b2 /boehm-gc/mark.c
parent0e6137dd2effc72be8bb0419bfdbc92983cb9e47 (diff)
downloadgcc-ad6f3fb7d4a3e82822eaf88178101240b8975668.tar.gz
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally.
(GC_local_gcj_malloc): Add assertion. (start_mark_threads): Fix abort message. * mark.c (GC_mark_from): Generalize assertion. * reclaim.c (GC_clear_fl_links): New function. (GC_start_reclaim): Must clear some freelist links. * include/private/specific.h, specific.c: Add assertions. Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments. Rearrange tse fields. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/mark.c')
-rw-r--r--boehm-gc/mark.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/boehm-gc/mark.c b/boehm-gc/mark.c
index 170c279b718..eb5b9eeb34d 100644
--- a/boehm-gc/mark.c
+++ b/boehm-gc/mark.c
@@ -546,13 +546,13 @@ mse * mark_stack_limit;
/* Large length. */
/* Process part of the range to avoid pushing too much on the */
/* stack. */
+ GC_ASSERT(descr < GC_greatest_plausible_heap_addr
+ - GC_least_plausible_heap_addr);
# ifdef PARALLEL_MARK
# define SHARE_BYTES 2048
if (descr > SHARE_BYTES && GC_parallel
&& mark_stack_top < mark_stack_limit - 1) {
int new_size = (descr/2) & ~(sizeof(word)-1);
- GC_ASSERT(descr < GC_greatest_plausible_heap_addr
- - GC_least_plausible_heap_addr);
mark_stack_top -> mse_start = current_p;
mark_stack_top -> mse_descr = new_size + sizeof(word);
/* makes sure we handle */