One of the main issues with Java is its cold startup time which is particularly relevant with severless architectures. In a serverless architecture Java takes more resources to perform the equivalent functionality as a function written in JavaScript or Go. That reason more than any is going to decrease its usage over time.