rocksdb/java
fyrz 56ef2caaa5 [RocksJava] - Hardening RocksIterator
RocksIterator will sometimes Sigsegv on dispose. Mainly thats related
to dispose order. If the related RocksDB instance is freed beforehand
RocksIterator.dispose() will fail.

Within this commit there is a major change to RocksIterator. RocksIterator
will hold a private reference to the RocksDB instance which created the
RocksIterator. So even if RocksDB is freed in the same GC cycle the
RocksIterator instances will be freed prior to related RocksDB instances.

Another aspect targets the dispose logic if the RocksDB is freed previously
and already gc`ed. On dispose of a RocksIterator the dispose logic will check
if the RocksDB instance points to an initialized DB. If not the dispose logic
will not perform any further action.

The crash can be reproduced by using the related test provided within this
commit.

Related information: This relates to @adamretter`s facebook rocksdb-dev group
post about SigSegv on RocksIterator.dispose().
2014-10-27 23:20:12 +01:00
..
crossbuild Fixed cross platform build after introducing Java-7 dependencies 2014-10-23 21:10:49 +02:00
org/rocksdb [RocksJava] - Hardening RocksIterator 2014-10-27 23:20:12 +01:00
rocksjni Merge pull request #351 from fyrz/RocksJava_Snapshot_Support 2014-10-27 14:50:22 -07:00
HISTORY-JAVA.md [Java] Add HISTORY-JAVA.md and include both C++ and Java history files in .jar. 2014-06-20 23:18:25 -07:00
jdb_bench.sh Cross platform fix for Java benchmark shell script. 2014-10-05 10:46:55 +02:00
Makefile [RocksJava] - Hardening RocksIterator 2014-10-27 23:20:12 +01:00
RELEASE.md update release readme 2014-10-06 08:24:51 -07:00
RocksDBSample.java [RocksJava] Column family support 2014-10-13 10:34:52 +02:00
rocksjni.pom bump version to 3.6 2014-10-02 14:59:20 -07:00