Lazy management searching for the most used language back then and not willing to invest in finding what would have been the best technical solution, no matter the performance drawbacks. As a result, security is still a myth and Android can only dream the low latency performance of other platforms for example when making music.