Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UIMA-6413] Memory leak in FSClassRegistry #169

Merged
merged 5 commits into from Jan 24, 2022

Conversation

reckart
Copy link
Member

@reckart reckart commented Jan 24, 2022

  • Unregister UIMAClassLoader form the FSClassRegistry when close() is called
  • Allow recording at which point a classloader was added to the FSClassRegistry cache
  • Allow logging on shutdown which classloaders are still in the cache
  • Make the test robust against prior tests that did not destroy their resource managers

…estroyer-keeps-unnecessary-reference-on-CPMEngine

[UIMA-6401] CPE ThreadGroupDestroyer keeps unnecessary reference on CPMEngine
…r-threadlocal-can-leak

[UIMA-6400] UimaContextHolder threadlocal can leak
- Unregister UIMAClassLoader form the FSClassRegistry when close() is called
- Allow recording at which point a classloader was added to the FSClassRegistry cache
- Allow logging on shutdown which classloaders are still in the cache
- Make the test robust against prior tests that did not destroy their resource managers
* main: (71 commits)
  [UIMA-6373] Format UIMA Core Java SDK codebase
  [UIMA-6374] Create CAS (de)serialization test suite (#160)
  [UIMA-6398] Classloader paradoxon and memory leak in UIMA loggers
  [UIMA-6397] Remove unnecessary code from Class_TCCL.java
  [UIMA-6374] Create CAS (de)serialization test suite
  Fixed v3 update site url
  [UIMA-6390] NPE when trying to access config names of fresh context
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6372] Upgrade from JUnit 3 to JUnit 4 to JUnit 5
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6374] Create CAS (de)serialization test suite
  [UIMA-6373] Format UIMA Core Java SDK codebase
  ...

% Conflicts:
%	uimaj-core/src/main/java/org/apache/uima/cas/impl/FSClassRegistry.java
%	uimaj-core/src/main/java/org/apache/uima/internal/util/UIMAClassLoader.java
@reckart reckart added the 🦟 Bug Something isn't working label Jan 24, 2022
@reckart reckart added this to the 3.3.0 milestone Jan 24, 2022
@reckart reckart self-assigned this Jan 24, 2022
@reckart reckart merged commit 7c32476 into main Jan 24, 2022
@reckart reckart deleted the bugfix/UIMA-6413-Memory-leak-in-FSClassRegistry branch January 24, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦟 Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant