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

[Bug] Memory leak because OWSTTaskTerminator destructor not called #319

Closed
linade opened this issue Apr 26, 2022 · 0 comments
Closed

[Bug] Memory leak because OWSTTaskTerminator destructor not called #319

linade opened this issue Apr 26, 2022 · 0 comments

Comments

@linade
Copy link
Collaborator

linade commented Apr 26, 2022

Description
OWSTTaskTerminator destructor not called because its parent class ParallelTaskTerminator's destructor is not virtual.

Steps to Reproduce
Steps to reproduce the behavior:

  1. Save below snippet '...'
  2. Compile it with javac '....'
  3. Execute with VM options '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

JDK version
The output of java -version command

Execution environment

  • OS and version:
  • CPU model:
  • Number of CPU cores:
  • Size of physical memory:
  • Inside Linux container?
    • Linux container name (docker, pouch, etc):
    • Linux container version:
linade added a commit to linade/dragonwell8 that referenced this issue Apr 26, 2022
Summary: Make parent class ParallelTaskTerminator destructor virtual.

Test Plan: Test case

Reviewed-by:

Issue: dragonwell-project#319
linade added a commit to linade/dragonwell8 that referenced this issue Apr 26, 2022
Summary: Make parent class ParallelTaskTerminator destructor virtual.

Test Plan: Test case

Reviewed-by:

Issue: dragonwell-project#319
@linade linade closed this as completed Apr 26, 2022
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

No branches or pull requests

1 participant