Google-cloud-java: Does it works with the Java native GraalVM?

Created on 11 Mar 2019  路  12Comments  路  Source: googleapis/google-cloud-java

Playing with the new native target for https://quarkus.io/
Samples work well on Google App Engine (Java11 alpha).
Did not try yet, but we need to validate if the Cloud Java APIs work well with the GraalVM target https://www.graalvm.org/

It is possible that GraalVM has some limitations related to code introspection and more (see https://github.com/oracle/graal/blob/master/substratevm/LIMITATIONS.md)
It would be nice to declare the Google Cloud Java APIs GraalVM ready, so that quarkusIO customers can use them in a supported manner.

question

Most helpful comment

This should be addressed.

All 12 comments

Step one is to make sure that grpc works well.

@ludoch, thanks for the reference. Is GraalVM also expected to work with gRPC?

https://github.com/hpehl
That is the point of this bug/feature request... If issues we need to find a way to address them.

@ludoch, has the gRPC team been involved with this yet? If not, I'll ping someone on this thread.

Pretty sure none, unless via hidden channels I am not aware of...

@ludoch, perhaps it's better if you start a thread on https://github.com/grpc/grpc-java to maximize the chances that you'd find the right audience.

Maybe Cloud Java is using 5% of gRPC, so maybe I would start first to run the Cloud Java tests with a graalVM target, and then start digging in the inner (hidden?) deps as we go, if we find issues.

@ludoch, is there anything actionable for google-cloud-java at this moment?

This should be addressed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

codemoped picture codemoped  路  36Comments

garrettjonesgoogle picture garrettjonesgoogle  路  26Comments

vam-google picture vam-google  路  22Comments

naushad97 picture naushad97  路  30Comments

fkorotkov picture fkorotkov  路  26Comments