GitHub user afs opened a pull request:
https://github.com/apache/jena/pull/391
Jena 1516 object file storage
The main commit is the second one.
Commit 1 is general removal of the alloc-complete writer cycle.
Commit 2 is the core fix - simpler wring of objects.
Commit 3 is reformatting and removal of some dev code.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/afs/jena jena-1516_ObjectFileStorage
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/jena/pull/391.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #391
----
commit d0662ca44bb5a2cc5fbfcfe41213a9665892d278
Author: Andy Seaborne <andy@...>
Date: 2018-04-03T21:36:37Z
JENA-1516: Remove alloc-write.
commit ab8d0f4e71039e1049d355ad37109c2bb515b803
Author: Andy Seaborne <andy@...>
Date: 2018-04-03T21:52:24Z
JENA-1516: Simplify write. Sync writer buffer; protect length read.
Remove alloc-write.
commit 80c1d026e02d5a87cf9dc31df0f9ba98b4ce212a
Author: Andy Seaborne <andy@...>
Date: 2018-04-04T15:01:43Z
Formatting changes and remove dev code
----
---