原创 深入JVM鎖機制

在java.util.concurrent.locks包中有很多Lock的實現類,常用的有ReentrantLock、ReadWriteLock(實現類ReentrantReadWriteLock),其實現都依賴java.util.conc

原创 在Eclipse下面使用註釋模板自動生成說明

Xml代碼  <?xml version="1.0" encoding="UTF-8"?>  <templates>      <template autoinsert="true" context="filecomment_context

原创 深入JVM鎖機制

在java.util.concurrent.locks包中有很多Lock的實現類,常用的有ReentrantLock、ReadWriteLock(實現類ReentrantReadWriteLock),其實現都依賴java.util.conc

原创 在Eclipse下面使用註釋模板自動生成說明

Xml代碼  <?xml version="1.0" encoding="UTF-8"?>  <templates>      <template autoinsert="true" context="filecomment_context