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

Reset CD4C & logger instances #48

Merged
merged 4 commits into from
Nov 20, 2024
Merged

Reset CD4C & logger instances #48

merged 4 commits into from
Nov 20, 2024

Conversation

luepges
Copy link
Contributor

@luepges luepges commented Nov 8, 2024

  • Reset CD4 (unset singleton)
  • Clear Reporting Hooks
  • Unset Log instance
  • Unset org.reflections.Reflections.log SL4J-Log (dependency has already been removed in the 7.7.0-SNAPSHOT runtime)
  • Remove AST references from the ANTLR Tool after a run
  • Remove unused ReportingRepository#Helper class (cf. 3bcfd5c)

Due to JDK-8078641 (and groovy using MethodHandles to inspect the various classes) we have to unset various static fields after the MontiCore generator has run to allow the GC to reclaim memory.

@luepges luepges changed the title Fix GlobalExtensionManagement#addBeforeTemplate Reset CD4C & logger instance Nov 8, 2024
@luepges luepges marked this pull request as draft November 8, 2024 16:25
@luepges luepges changed the title Reset CD4C & logger instance Reset CD4C & logger instances Nov 19, 2024
@luepges luepges marked this pull request as ready for review November 19, 2024 12:51
@luepges luepges merged commit 7c6fab3 into dev Nov 20, 2024
18 checks passed
@luepges luepges deleted the reset-cd4c branch December 3, 2024 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants