-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Running on JDK 14:
When running an application with the profiler enabled, once the application shuts down, I get a log with On VM death after the last log of the application and the application does not exit. Tried exiting explicitly with System.exit() as well.
This has happened on 2 separate occasions on 2 separate applications.
Args for running: -agentpath:${GCP_PROFILER_JAVA_AGENT}=-cprof_service=${APP_NAME},-cprof_project_id=${PROJECT_ID},-logtostderr,-cprof_enable_heap_sampling=true
I am running it inside GKE with WorkloadIdentity enabled if that is of any concern (it automatically picks up the zone name, so metadata server might not be a problem).
Also:
I do not get the subsequent logs for Exiting the profiling loop and Heap sampling GC waiting thread finished which I get when the application exits normally.