aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/gcj_mlc.c
diff options
context:
space:
mode:
authorHans Boehm <Hans_Boehm@hp.com>2001-04-05 00:14:18 +0000
committerTom Tromey <tromey@gcc.gnu.org>2001-04-05 00:14:18 +0000
commit41029b884ae16a2fc2b36cedfd20d7a1e68cfdb6 (patch)
tree88a556f74fb0052ef40f7b32c7dc19756675fe56 /boehm-gc/gcj_mlc.c
parent48f9396dd6166819d204e931b4d2d9d2da704a73 (diff)
downloadgcc-41029b884ae16a2fc2b36cedfd20d7a1e68cfdb6.zip
gcc-41029b884ae16a2fc2b36cedfd20d7a1e68cfdb6.tar.gz
gcc-41029b884ae16a2fc2b36cedfd20d7a1e68cfdb6.tar.bz2
finalize.c: - Accomodate finalization requests for static objects.
2001-04-04 Hans Boehm <hans_boehm@hp.com> * finalize.c: - Accomodate finalization requests for static objects. (Will be required by hash synchronization. May be needed in some configurations now.) * gc_priv.h: - Define MIN_WORDS. All allocation requests are rounded up to at least this size. Removes a subtle assumption that Java objects have a 2 word header. * gcconfig.h: - Adjust Linux/IA64 configuration for non-ancient kernels. (Necessary fix for IA64.) * linux_threads.c: - Fix syntax error in currently unused code. Will be needed for Linux/PA-RISC. * malloc.c: - Handle MIN_WORDS. * misc.c: - Handle MIN_WORDS. - Change stack cleaning code to typically clear about one tenth the memory it used to in the threads configuration. Occasionally still clear more. (This is really a fix for a long-standing and fairly significant performance bug with threads.) * os_dep.c: - Fix the code for finding the beginning of the data segment under Linux. I believe this is necessary for some IA64 Linux distributions. It will also helo other platforms, though those may additionally require a gcconfig.h adjustment. (This basically works around the absence of a data_start or __data_start definition in glibc.) * test.c: - Handle rounding due to MIN_WORDS. From-SVN: r41102
Diffstat (limited to 'boehm-gc/gcj_mlc.c')
-rw-r--r--boehm-gc/gcj_mlc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/boehm-gc/gcj_mlc.c b/boehm-gc/gcj_mlc.c
index d7b912c..519c5cb 100644
--- a/boehm-gc/gcj_mlc.c
+++ b/boehm-gc/gcj_mlc.c
@@ -267,7 +267,6 @@ DCL_LOCK_STATE;
} else {
*opp = obj_link(op);
GC_words_allocd += lw;
- FASTUNLOCK();
}
*(void **)op = ptr_to_struct_containing_descr;
UNLOCK();