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

jukka and others added 30 commits January 28, 2013 11:19
The release checker script now lives on dist.apache.org.
Also update the release profile.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1439346 13f79535-47bb-0310-9956-ffa450edef68
…WebDav

Stick to absolute URIs as the default.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1439797 13f79535-47bb-0310-9956-ffa450edef68
… has the invalid child node entry, not the missing child node

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1440059 13f79535-47bb-0310-9956-ffa450edef68
Mark the failing test as a known issue.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1440336 13f79535-47bb-0310-9956-ffa450edef68
Patch by Randall Hauch.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1440456 13f79535-47bb-0310-9956-ffa450edef68
… in the repository that should be indexed are present in the index. because this check will take more time and resources it must be explicitly enabled using a system property.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1440908 13f79535-47bb-0310-9956-ffa450edef68
…on storage via the internal version management API

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1440917 13f79535-47bb-0310-9956-ffa450edef68
…itional check overall performance has actually increased it is not necessary to be able to skip the reverse check anymore.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1442061 13f79535-47bb-0310-9956-ffa450edef68
… version history in order that repositories can prevent such actions as a matter of repository-wide policy

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1443652 13f79535-47bb-0310-9956-ffa450edef68
…ermission for repository wide version removal policy. need to rethink this.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1443943 13f79535-47bb-0310-9956-ffa450edef68
…the repository when it is only in the index

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1445229 13f79535-47bb-0310-9956-ffa450edef68
…n Java 7: applying patch by Chetan Mehrotra

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1446512 13f79535-47bb-0310-9956-ffa450edef68
- added a lot more unit test coverage, including verification of cluster update events
- refactored the code to be more modular
- report items now also report whether inconsistency error was fixed

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1448252 13f79535-47bb-0310-9956-ffa450edef68
…ncurrent changes are not merged

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1448313 13f79535-47bb-0310-9956-ffa450edef68
…cking in batches instead of all at once: this broke during a previous refactoring and is not a user friendly option since it is very slow

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1448555 13f79535-47bb-0310-9956-ffa450edef68
…testResidualAndLegalType is not optimal

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1452698 13f79535-47bb-0310-9956-ffa450edef68
tripodsan and others added 29 commits February 18, 2014 21:34
…ned from VersionHistory.getAllVersions().

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1576368 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1576690 13f79535-47bb-0310-9956-ffa450edef68
…r registering event listeners

Initial version of new API

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577213 13f79535-47bb-0310-9956-ffa450edef68
…r registering event listeners

JackrabbitObservationManager should extend from ObservationManager

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577242 13f79535-47bb-0310-9956-ffa450edef68
Initial implementation

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577244 13f79535-47bb-0310-9956-ffa450edef68
Applying modified patch from Amit Jain
-- Made derby and commons-dbcp as optional
-- Removed dependency on commons-collection as it is not required

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577422 13f79535-47bb-0310-9956-ffa450edef68
Added an overloaded method which takes Properties instance

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577475 13f79535-47bb-0310-9956-ffa450edef68
As CachingDataStore invokes init directly its not possible to use the other init method. Added another way where clients can provide the required properties while creating S3DataStore

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577481 13f79535-47bb-0310-9956-ffa450edef68
git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577526 13f79535-47bb-0310-9956-ffa450edef68
… registering event listeners

 - updated OSGi package versions



git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1577545 13f79535-47bb-0310-9956-ffa450edef68
…figuration file

Applying patch from Shashank. Thanks!



git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1578774 13f79535-47bb-0310-9956-ffa450edef68
….7.3)

Applying patch from Shashank

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1579119 13f79535-47bb-0310-9956-ffa450edef68
Applying slightly modified patch from Amit Jain. Thanks!

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1579543 13f79535-47bb-0310-9956-ffa450edef68
…ms resolution (patch by Shashank Gupta)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1579912 13f79535-47bb-0310-9956-ffa450edef68
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.