Skip to content
Snippets Groups Projects
  1. Mar 07, 2007
    • aoliva's avatar
      libffi/ChangeLog: · f20fe604
      aoliva authored
      * include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New.
      (ffi_prep_closure_loc): New.
      (ffi_prep_raw_closure_loc): New.
      (ffi_prep_java_raw_closure_loc): New.
      * src/closures.c: New file.
      * src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment):
      Replace sflags with exec_offset.
      [FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset,
      sub_segment_exec_offset): New macros.
      (get_segment_flags, set_segment_flags, check_segment_merge): New
      macros.
      (is_mmapped_segment, is_extern_segment): Use get_segment_flags.
      (add_segment, sys_alloc, create_mspace, create_mspace_with_base,
      destroy_mspace): Use new macros.
      (sys_alloc): Silence warning.
      * Makefile.am (libffi_la_SOURCES): Add src/closures.c.
      * Makefile.in: Rebuilt.
      * src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in
      terms of ffi_prep_closure_loc.
      * src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted
      from...
      (ffi_prep_raw_closure): ... this.  Re-implement in terms of the
      renamed version.
      * src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and
      adjusted from...
      (ffi_prep_java_raw_closure): ... this.  Re-implement in terms of
      the renamed version.
      * src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from
      (ffi_prep_closure): ... this.
      * src/pa/ffi.c: Likewise.
      * src/cris/ffi.c: Likewise.  Adjust.
      * src/frv/ffi.c: Likewise.
      * src/ia64/ffi.c: Likewise.
      * src/mips/ffi.c: Likewise.
      * src/powerpc/ffi_darwin.c: Likewise.
      * src/s390/ffi.c: Likewise.
      * src/sh/ffi.c: Likewise.
      * src/sh64/ffi.c: Likewise.
      * src/sparc/ffi.c: Likewise.
      * src/x86/ffi64.c: Likewise.
      * src/x86/ffi.c: Likewise.
      (FFI_INIT_TRAMPOLINE): Adjust.
      (ffi_prep_raw_closure_loc): Renamed and adjusted from...
      (ffi_prep_raw_closure): ... this.
      * src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from
      (ffi_prep_closure): ... this.
      (flush_icache): Adjust.
      boehm-gc/ChangeLog:
      * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
      (GC_register_finalizer_unreachable): Declare.
      (GC_debug_register_finalizer_unreachable): Declare.
      * finalize.c (GC_unreachable_finalize_mark_proc): New.
      (GC_register_finalizer_unreachable): New.
      (GC_finalize): Handle it.
      * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
      (GC_debug_register_finalizer_no_order): Fix whitespace.
      libjava/ChangeLog:
      * include/jvm.h (_Jv_ClosureListFinalizer): New.
      (_Jv_Linker::create_error_method): Adjust.
      * boehm.cc (_Jv_ClosureListFinalizer): New.
      * nogc.cc (_Jv_ClosureListFinalizer): New.
      * java/lang/Class.h (class _Jv_ClosureList): New.
      (class java::lang::Class): Declare it as friend.
      * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
      (_Jv_ClosureList::registerClousure): New.
      * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
      (_Jv_CompiledEngine::do_get_closure_list): New.
      (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
      (_Jv_IndirectCompiledClass): Add closures.
      (_Jv_IndirectCompiledEngine::get_aux_info): New.
      (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
      it.
      (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
      (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
      (_Jv_InterpreterEngine::do_get_closure_list): Declare.
      (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
      * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
      (node_closure): Add closure list.
      (_Jv_InterpMethod::ncode): Add jclass argument.  Use
      ffi_closure_alloc and the separate code pointer.  Register the
      closure for finalization.
      (_Jv_JNIMethod::ncode): Likewise.
      (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
      (_Jv_InterpreterEngine::do_get_closure_list): New.
      * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
      (_Jv_InterpClass): Add closures field.
      (_Jv_JNIMethod::ncode): Adjust.
      * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
      (_Jv_ClassReader::handleMethodsEnd): Likewise.
      * link.cc (struct method_closure): Add closure list.
      (_Jv_Linker::create_error_method): Add jclass argument.  Use
      ffi_closure_alloc and the separate code pointer.  Register the
      closure for finalization.
      (_Jv_Linker::link_symbol_table): Remove outdated comment about
      sharing of otable and atable.  Adjust.
      * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
      list.
      (ncode): Add jclass argument.  Use ffi_closure_alloc and the
      separate code pointer.  Register the closure for finalization.
      (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
      * testsuite/libjava.jar/TestClosureGC.java: New.
      * testsuite/libjava.jar/TestClosureGC.out: New.
      * testsuite/libjava.jar/TestClosureGC.xfail: New.
      * testsuite/libjava.jar/TestClosureGC.jar: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122652 138bc75d-0d04-0410-961f-82ee72b054a4
      f20fe604
  2. Aug 13, 2004
    • bryce's avatar
      libjava: · e08a5204
      bryce authored
      2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
      	boehm-gc's include dirs.
      	* configure: Rebuilt.
      	* include/boehm-gc.h: Include gc_config.h.
      
      boehm-gc:
      2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
      
      	* configure.ac (gc_cflags): Add -Iinclude.
      	(AC_CONFIG_HEADERS): New. Configure gc_config.h header.
      	Don't write DEFS to boehm-cflags file.
      	* configure: Rebuilt.
      	* gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
      	* specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
      	* include/gc_config_macros.h: Remove backward-compatibility
      	redefinitions of GC_ names.
      	* include/gc.h: Include <gc_config.h>.
      
      2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
      
      	Import Boehm GC version 6.3.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@85972 138bc75d-0d04-0410-961f-82ee72b054a4
      e08a5204
  3. Jul 28, 2003
    • jsturm's avatar
      Import GC 6.3alpha1. · 34128101
      jsturm authored
      	* BCC_MAKEFILE: Merge with GC 6.3alpha1 release.
      	* ChangeLog: Likewise.
      	* Makefile.am: Likewise.
      	* Makefile.direct: Likewise.
      	* Makefile.dj: Likewise.
      	* allchblk.c: Likewise.
      	* alloc.c: Likewise.
      	* backgraph.c: Likewise.
      	* configure.host: Likewise.
      	* configure.in: Likewise.
      	* dbg_mlc.c: Likewise.
      	* dyn_load.c: Likewise.
      	* finalize.c: Likewise.
      	* gc_cpp.cc: Likewise.
      	* gc_dlopen.c: Likewise.
      	* gcj_mlc.c: Likewise.
      	* if_mach.c: Likewise.
      	* mach_dep.c: Likewise.
      	* malloc.c: Likewise.
      	* mallocx.c: Likewise.
      	* mark.c: Likewise.
      	* mark_rts.c: Likewise.
      	* misc.c: Likewise.
      	* os_dep.c: Likewise.
      	* ptr_chck.c: Likewise.
      	* reclaim.c: Likewise.
      	* solaris_pthreads.c: Likewise.
      	* solaris_threads.c: Likewise.
      	* sparc_mach_dep.S: Likewise.
      	* threadlibs.c: Likewise.
      	* typd_mlc.c: Likewise.
      	* version.h: Likewise.
      	* win32_threads.c: Likewise.
      	* Mac_files/MacOS_Test_config.h: Likewise.
      	* Mac_files/MacOS_config.h: Likewise.
      	* cord/cordbscs.c: Likewise.
      	* cord/cordprnt.c: Likewise.
      	* cord/de_win.c: Likewise.
      	* doc/README: Likewise.
      	* doc/README.MacOSX: Likewise.
      	* doc/README.changes: Likewise.
      	* doc/README.environment: Likewise.
      	* doc/README.ews4800: Likewise.
      	* doc/README.linux: Likewise.
      	* doc/README.macros: Likewise.
      	* doc/README.win32: Likewise.
      	* doc/debugging.html: Likewise.
      	* doc/gcdescr.html: Likewise.
      	* doc/tree.html: Likewise.
      	* include/Makefile.in: Likewise.
      	* include/gc.h: Likewise.
      	* include/gc_cpp.h: Likewise.
      	* include/gc_local_alloc.h: Likewise.
      	* include/gc_mark.h: Likewise.
      	* include/gc_pthread_redirects.h: Likewise.
      	* include/gc_typed.h: Likewise.
      	* include/new_gc_alloc.h: Likewise.
      	* include/private/dbg_mlc.h: Likewise.
      	* include/private/gc_hdrs.h: Likewise.
      	* include/private/gc_locks.h: Likewise.
      	* include/private/gc_pmark.h: Likewise.
      	* include/private/gc_priv.h: Likewise.
      	* include/private/gcconfig.h: Likewise.
      	* include/private/solaris_threads.h: Likewise.
      	* include/private/specific.h: Likewise.
      	* tests/test.c: Likewise.
      	* tests/test_cpp.cc: Likewise.
      
      	* configure: Rebuild.
      	* Makefile.in: Rebuild.
      
      	* mips_sgi_mach_dep.s: Add.
      
      	* alpha_mach_dep.s: Remove.
      	* irix_threads.c: Remove.
      	* linux_threads.c: Remove.
      	* mips_sgi_mach_dep.S: Remove.
      	* missing: Remove.
      	* powerpc_macosx_mach_dep.s: Remove.
      	* doc/Makefile.am: Remove.
      	* doc/Makefile.in: Remove.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69880 138bc75d-0d04-0410-961f-82ee72b054a4
      34128101
  4. Feb 13, 2002
  5. Feb 12, 2002
  6. Oct 16, 2001
  7. Aug 18, 2001
  8. May 21, 2001
    • bryce's avatar
      Imported version version 6.0alpha7. · f8c1da57
      bryce authored
      	* README, README.Mac, README.OS2, README.QUICK, README.alpha,
      	README.amiga, README.debugging, README.dj, README.hp, README.linux,
      	README.rs6000, README.sgi, README.solaris2, README.uts,
      	README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
      	dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
      	gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
      	hpux_irix_threads.c, makefile.depend, nursery.c,
      	solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
      	cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
      	cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
      	include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
      	files.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42379 138bc75d-0d04-0410-961f-82ee72b054a4
      f8c1da57
  9. May 07, 2000
  10. Apr 19, 2000
  11. Nov 01, 1999
  12. Apr 07, 1999
Loading