rocksdb/java
Jigar Bhati 6ecd26af27 WriteBufferManager JNI fixes (#4579)
Summary:
1. `WriteBufferManager` should have a reference alive in Java side through `Options`/`DBOptions` otherwise, if it's GC'ed at java side, native side can seg fault.
2. native method `setWriteBufferManager()` in `DBOptions.java` doesn't have it's jni method invocation in rocksdbjni which is added in this PR
3. `DBOptionsTest.java` is referencing object of `Options`. Instead it should be testing against `DBOptions`. Seems like a copy paste error.
4. Add a getter for WriteBufferManager.
Pull Request resolved: https://github.com/facebook/rocksdb/pull/4579

Differential Revision: D10561150

Pulled By: sagar0

fbshipit-source-id: 139a15c7f051a9f77b4200215b88267b48fbc487
2018-10-24 12:40:52 -07:00
..
benchmark/src/main/java/org/rocksdb/benchmark Expose max_background_jobs option in RocksJava 2017-09-20 10:26:37 -07:00
crossbuild Build improvements: Split docker targets and parallelize java builds 2018-07-23 13:28:37 -07:00
rocksjni WriteBufferManager JNI fixes (#4579) 2018-10-24 12:40:52 -07:00
samples/src/main/java Add TransactionDB and OptimisticTransactionDB to the Java API 2018-03-02 10:34:13 -08:00
src WriteBufferManager JNI fixes (#4579) 2018-10-24 12:40:52 -07:00
CMakeLists.txt Plumb WriteBufferManager through JNI (#4492) 2018-10-17 11:49:57 -07:00
HISTORY-JAVA.md Update JAVA-HISTORY.md for v3.13 2015-08-04 18:12:58 -07:00
Makefile Plumb WriteBufferManager through JNI (#4492) 2018-10-17 11:49:57 -07:00
RELEASE.md Fixed packaging of java crossbuild jar by forcing all compiled binaries to be output to the java/target directory. The uber crossbuild jar is then assembled within the java/target directory. 2015-10-12 20:29:58 -04:00
jdb_bench.sh Suppress lint in old files 2018-01-29 12:56:42 -08:00
rocksjni.pom Update java/rocksjni.pom 2017-07-18 13:12:23 -07:00