opentelemetry-lambda icon indicating copy to clipboard operation
opentelemetry-lambda copied to clipboard

Disable class sharing for agent layer

Open anuraaga opened this issue 3 years ago • 1 comments

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

anuraaga avatar May 10 '21 03:05 anuraaga

Hi @anuraaga, Why CDS (class data sharing) needs to be disabled in Java 8?

serkan-ozal avatar Mar 03 '24 16:03 serkan-ozal