... 1、垃圾收集线程(garbage collection thread) 2、事务清扫线程(sweep thread) 3、文件格式变化(file format change) ...
基于66个网页-相关网页
An exception is thrown on the garbage collection thread when you use SQL providers.
使用SQL provider时,垃圾回收线程抛出异常。
If the NHRT is delayed when trying to acquire such a lock while the thread owning the lock is delayed by garbage collection, then the NHRT is indirectly delayed by garbage collection as well.
如果NHRT在尝试获取这类锁时被延迟了,而且拥有该锁的线程被垃圾收集延迟了,那么垃圾收集也会间接地延迟NHRT。
That is, do not hold a lock if the owning thread might make a call that triggers a garbage collection.
也就是说,如果拥有的线程可能进行触发垃圾回收的调用,请不要持有锁。
应用推荐