Working version in shared memory JVSTM environment for single threaded (pending more testing for multi-threaded scenario - note the synchronized tx generation choice).