⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.sgi

📁 linux下建立JAVA虚拟机的源码KAFFE
💻 SGI
字号:
Performance of the incremental collector can be greatly enhanced with-DNO_EXECUTE_PERMISSION.The collector should run with all of the -32, -n32 and -64 ABIs.  Remember todefine the AS macro in the Makefile to be "as -64", or "as -n32".If you use -DREDIRECT_MALLOC=GC_malloc with C++ code, your code should makeat least one explicit call to malloc instead of new to ensure that the properversion of malloc is linked in.Sproc threads are not supported in this version, though there may exist otherports.Pthreads support is provided.  This requires that:1) You compile the collector with -DGC_IRIX_THREADS specified in the Makefile.2) You have the latest pthreads patches installed.  (Though the collector makes only documented pthread calls,it relies on signal/threads interactions working just right in waysthat are not required by the standard.  It is unlikely that this codewill run on other pthreads platforms.  But please tell me if it does.)3) Every file that makes thread calls should define IRIX_THREADS and theninclude gc.h.  Gc.h redefines some of the pthread primitives as macros whichalso provide the collector with information it requires.4) pthread_cond_wait and pthread_cond_timed_wait should be prepared forpremature wakeups.  (I believe the pthreads and realted standards require thisanyway.  Irix pthreads often terminate a wait if a signal arrives.The garbage collector uses signals to stop threads.)5) It is expensive to stop a thread waiting in IO at the time the request isinitiated.  Applications with many such threads may not exhibit acceptableperformance with the collector.  (Increasing the heap size may help.)6) The collector should not be compiled with -DREDIRECT_MALLOC.  Thisconfuses some library calls made by the pthreads implementation, whichexpect the standard malloc.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -