Parallelism in object-oriented programming languages