Skip to content

Commit ae134ae

Browse files
Update README.md
1 parent ace713c commit ae134ae

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

README.md

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
1-
# AtlasClassLoader
2-
* The Atlas Loader
3-
* This is a classloader , with dynamic class removal feature.
4-
* How this is achieved?
5-
* The idea came from Mario Ortegón(https://stackoverflow.com/users/2309/mario-orteg%c3%b3n) in this stackoverflow post -> https://stackoverflow.com/questions/148681/unloading-classes-in-java
6-
* And in brief description , every class can be removed , if his class loader is also garbage collected . so the
7-
* Atlas Loader just manages SingleClassLoaders , a loader witch only allowed to load one class (with call to .resolveIt()) . when the removal is needed
8-
* the only thing needed is to garbage collect the responsible class loader .
9-
* @implNote when .removeClass(java.lang.String) is called , it is assumed that every object of this class is also garbage collected
10-
* @implNote this class have no security responsibility , the specific implementation of SingleClassLoader has . the AtlasLoader is a dummy wrapper over
11-
* a bunch of SingleClassLoaders, nothing more!
12-
*
1+
## AtlasClassLoader
2+
Classic classloader , but you can remove the class in runtime
3+
4+
#### How this is achieved?
5+
The idea came from Mario Ortegón(https://stackoverflow.com/users/2309/mario-orteg%c3%b3n) in this stackoverflow post -> https://stackoverflow.com/questions/148681/unloading-classes-in-java, and in brief description , every class can be removed , if his class loader is also garbage collected so the Atlas Loader just manages SingleClassLoaders , a loader witch only allowed to load one class (with call to .resolveIt())
6+
When the removal is needed the only thing needed is to garbage collect the responsible class loader .
7+
When .removeClass(java.lang.String) is called , it is assumed that every object of this class is also garbage collected
8+
@implNote this class have no security responsibility , the specific implementation of SingleClassLoader has . the AtlasLoader is a dummy wrapper over a bunch of SingleClassLoaders, nothing more!

0 commit comments

Comments
 (0)