GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - noReasonException/AtlasClassLoader: Part of a silly hack in my attemt to reload a demo class without paying a licence(for educational purposes only of course)

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
src
src
 
 
target
target
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
atlasloadermain.iml
atlasloadermain.iml
 
 
pom.xml
pom.xml
 
 

Repository files navigation

AtlasClassLoader

Classic classloader , but you can remove the class in runtime

How this is achieved?

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()) When the removal is needed the only thing needed is to garbage collect the responsible class loader . When .removeClass(java.lang.String) is called , it is assumed that every object of this class is also garbage collected @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!

About

Part of a silly hack in my attemt to reload a demo class without paying a licence(for educational purposes only of course)

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.