Java virtual machine concurrent programming