opentelemetry-lambda
opentelemetry-lambda copied to clipboard
Disable class sharing for agent layer
The Java 8 Corretto runtime for Lambda explicitly enables class data sharing. We need to rewrite the JVM command line to append -Xshare:off
to disable this behavior. Java 11 does not exhibit this problem.
https://stackoverflow.com/questions/65084786/override-jvm-options-in-aws-lambda
Hi @anuraaga, Why CDS (class data sharing) needs to be disabled in Java 8?