Skip to content

JCR-2768 Replace finalize in SessionImpl with Phantom references#17

Open
gruberroland-netcentric wants to merge 7389 commits intoapache:trunkfrom
gruberroland-netcentric:trunk
Open

JCR-2768 Replace finalize in SessionImpl with Phantom references#17
gruberroland-netcentric wants to merge 7389 commits intoapache:trunkfrom
gruberroland-netcentric:trunk

Conversation

@gruberroland-netcentric
Copy link
Copy Markdown

This patch removes the finalize function in SessionImpl. The garbage collection runs much smoother now.
Tested with 20 threads that open 20000 sessions each and create 50 nodes. Images are from https://github.com/chewiebug/GCViewer.

Original code:
orig

Patch:
patched

Loading
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.