摘要:
GC_FOR_MALLOC 含义 2011-06-15 15:58 GC_FOR_MALLOC means that the GC was triggered because there wasn't enough memory left on the heap to perform an... 阅读全文
摘要:
1. 尽可能不要创建global reference和global weak reference. 创建这两类引用的JNI接口NewGlobalReference和NewGlobalWeakReference内部实现有一个锁。这个锁使得在多处理器上的可扩展性非常差,因为各个线程都在等待这个锁。所... 阅读全文