version 1.1, 1999/12/03 07:39:09 |
version 1.2, 2000/04/10 08:31:30 |
|
|
* Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers |
* Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers |
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved. |
* Copyright (c) 1991-1994 by Xerox Corporation. All rights reserved. |
* Copyright (c) 1998-1999 by Silicon Graphics. All rights reserved. |
* Copyright (c) 1998-1999 by Silicon Graphics. All rights reserved. |
|
* Copyright (c) 1999 by Hewlett-Packard Company. All rights reserved. |
* |
* |
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED |
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED |
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK. |
* OR IMPLIED. ANY USE IS AT YOUR OWN RISK. |
|
|
|
|
void GC_dump_regions() |
void GC_dump_regions() |
{ |
{ |
int i; |
unsigned i; |
ptr_t start, end; |
ptr_t start, end; |
ptr_t p; |
ptr_t p; |
size_t bytes; |
size_t bytes; |
|
|
size_avail = orig_avail; |
size_avail = orig_avail; |
} else if (size_avail == 0 && size_needed == HBLKSIZE |
} else if (size_avail == 0 && size_needed == HBLKSIZE |
&& IS_MAPPED(hhdr)) { |
&& IS_MAPPED(hhdr)) { |
# ifndef FIND_LEAK |
if (!GC_find_leak) { |
static unsigned count = 0; |
static unsigned count = 0; |
|
|
/* The block is completely blacklisted. We need */ |
/* The block is completely blacklisted. We need */ |
|
|
} |
} |
hhdr = HDR(hbp); |
hhdr = HDR(hbp); |
} |
} |
# endif |
} |
} |
} |
} |
} |
if( size_avail >= size_needed ) { |
if( size_avail >= size_needed ) { |