pcj
pcj copied to clipboard
Persistent Collections for Java
I've fixed a minor bug about this. https://github.com/JerryYangSH/pcj/commit/ef741849da1528eeebf920fbb083c4690682b7ed
```jerry@u19:~/opensources/pcj$ make tests /usr/lib/jvm/jdk1.8.0_231/bin/javac -Xlint:unchecked -XDenableSunApiLintControl -proc:none -d target/test_classes -cp src:target/classes:lib:src:lib/ST-4.0.8.jar: src/test/java/tests/PersistentLinkedQueueTest.java src/test/java/tests/PersistentLinkedListTest.java src/test/java/tests/TestCases.java src/test/java/tests/PersistentSIHashMapTest.java src/test/java/tests/PersistentFPTree2Test.java src/test/java/tests/PersistentArrayTest.java src/test/java/tests/PersistentTestRunner.java src/test/java/tests/ObjectDirectoryTest.java src/test/java/tests/PersistentFPTree1Test.java src/test/java/tests/PersistentHashMapTest.java src/test/java/tests/PersistentTupleTest.java src/test/java/tests/PersistentAtomicReferenceTest.java src/test/java/tests/PersistentSkipListMapTest.java src/test/java/tests/MultithreadTest.java src/test/java/tests/PersistentByteBufferTest.java src/test/java/tests/PersistentArrayListTest.java Picked up JAVA_TOOL_OPTIONS:...
I switched from file dax to dev dax mode (by "sudo ndctl create-namespace --mode devdax --map dev -e namespace0.0 -f"). and hit below error. ``` # Fork: 1 of 1...
What does PCJ decides to use GPL , not just like others PMDK? is it special?
I tested the latency PersistentSkipListMap and PersistentSkipListMap2. It looks PersistentSkipListMap is doing a better job than PersistentSkipListMap2 regarding the avg latency. What makes this difference? Which one is preferred? ****************Testing...
Any suggestion for the following error? I was following the instructions for building this project. ``` ~/bin/god/pcj$ make && make tests g++ -O3 -DNDEBUG -fPIC -I/home/lizhichao/bin/jdk1.8.0_101//include -I/home/lizhichao/bin/jdk1.8.0_101//include/linux -o target/cppbuild/lib_xpersistent_UncheckedPersistentMemoryRegion.o -c...
I run my code as follow: ``` import lib.util.persistent.*; public class Main { public static void main(String[] args) { PersistentArray string = new PersistentArray(100); ObjectDirectory.put("data",string); string.set(0,new PersistentString("hello")); System.out.println(string.get(0)); } }...
In order to make the library easy to consume publish an artifact to [Maven Central](http://central.sonatype.org).
The HTML Javadoc files are generated, best practices say generated artifacts should not be checked in source repository.
A mutable class that inherits from an immutable one does not respect the [Liskov Substitution Principle](https://en.wikipedia.org/wiki/Liskov_substitution_principle), a.k.a. the L in SOLID. An immutable object and its responses to getters can...