aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/scopedpool/SoftValueHashMap.java
Commit message (Collapse)AuthorAgeFilesLines
* fixes bugs in javadoc commentschibash2018-11-021-3/+3
|
* Fixes to javassist.scopepoolnickl-2017-11-121-36/+96
| | | | | | | | | | | | | | | | | Applied parameters and squashed all compiler warnings. Changed loops to enhanced for where appropriate. Fixed SoftValueHashMap: Made it a raw type. Overwritten implementation of the `get` method correctly unwrapped the reference but the methods `containsValue` and `entrySet` needed to be fixed. Implemented the remaining outstanding methods from the `java.util.Map` contract `values`, `putAll` and `keySet`. Dropped `AbstractMap` inheritance as we were not inheriting anything anymore. Changed internal map to `ConcurrentHashMap' to be atomic and parallel safe. Found original unit tests from jboss retro which are now updated to reflect the javassist versions of the scoped pool classes. Added tests for the SoftValueHashMap including test which overloads the heap to ensure the cache cleans itself appropriately.
* added the Apache license.chiba2011-07-081-2/+3
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@584 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* updated the copyright notices.chiba2007-06-041-2/+2
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@382 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* reformatted.chiba2006-07-181-228/+219
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@298 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* Update copyright noticekkhan2006-07-131-21/+15
| | | | git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@290 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
* Move scoped classpool repository from jboss retro into javassist to have a ↵kkhan2006-07-131-0/+247
common place for users like aop and jboss retro git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@289 30ef5769-5b8d-40dd-aea6-55b5d6557bb3