This repository was archived by the owner on Nov 4, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1111
1212public class IntArray {
1313 private static final int HEADER_SIZE = 4 ;
14- private static Heap heap = Heap .getHeap ("/mnt/mem/persistent_pool" , 2147483648L );
14+ private static Heap heap = Heap .getHeap ("/mnt/mem/persistent_pool" , 100_000_000L );
1515 MemoryBlock block ;
1616
1717
Original file line number Diff line number Diff line change 1111
1212public class MemoryBlockArray {
1313 private static final int HEADER_SIZE = 4 ;
14- private static TransactionalHeap heap = TransactionalHeap .getHeap ("/mnt/mem/persistent_pool_tx" , 2147483648L );
14+ private static TransactionalHeap heap = TransactionalHeap .getHeap ("/mnt/mem/persistent_pool_tx" , 100_000_000L );
1515 TransactionalMemoryBlock block ;
1616
1717
Original file line number Diff line number Diff line change 1212
1313public class Reader {
1414 public static void main (String [] args ) {
15- Heap h = Heap .getHeap ("/mnt/mem/persistent_pool" , 2147483648L );
15+ Heap h = Heap .getHeap ("/mnt/mem/persistent_pool" , 100_000_000L );
1616
1717 Console c = System .console ();
1818 if (c == null ) {
Original file line number Diff line number Diff line change 1212
1313public class Writer {
1414 public static void main (String [] args ) {
15- Heap h = Heap .getHeap ("/mnt/mem/persistent_pool" , 2147483648L );
15+ Heap h = Heap .getHeap ("/mnt/mem/persistent_pool" , 100_000_000L );
1616
1717 Console c = System .console ();
1818 if (c == null ) {
You can’t perform that action at this time.
0 commit comments