sofastack / sofa-ark

SOFAArk is a light-weight,java based classloader isolation framework.
https://www.sofastack.tech/projects/sofa-boot/sofa-ark-readme/
Apache License 2.0
1.57k stars 500 forks source link

Why dose AbstractClasspathClassLoader need to load Class with Cache? #688

Closed smalljunHw closed 1 year ago

smalljunHw commented 1 year ago

Discussed in https://github.com/sofastack/sofa-ark/discussions/687

Originally posted by **smalljunHw** July 29, 2023 Since ClassLoader will only try to load class on the first time, it seems not neccessary to cache the Class Object.
lvjing2 commented 1 year ago

已回复