Skip to content

Commit

Permalink
GEODE-2686: Remove JarClassLoader
Browse files Browse the repository at this point in the history
 - Remove JarClassLoader
 - Replace ClassPathLoader's collection of JarClassLoaders with a single URLClassLoader
 - Change naming scheme for deployed jars from 'vf.gf#myJar.jar#1' to 'myJar.v1.jar'
  • Loading branch information
jaredjstewart committed Apr 16, 2017
1 parent f272762 commit 6fd2d12
Show file tree
Hide file tree
Showing 24 changed files with 1,962 additions and 3,914 deletions.
515 changes: 81 additions & 434 deletions geode-core/src/main/java/org/apache/geode/internal/ClassPathLoader.java

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -4033,7 +4033,7 @@ private static Class<?> getExistingCachedClass(String className) {

public static void flushClassCache() {
if (classCache != null) {
// Not locking classCache during clear as doing so causes a deadlock in the JarClassLoader
// Not locking classCache during clear as doing so causes a deadlock in the DeployedJar
classCache.clear();
}
}
Expand Down
Loading

0 comments on commit 6fd2d12

Please sign in to comment.