Skip to content

Conversation

@cloud-profiler-github-robot
Copy link
Collaborator

Fix a crash in Java agent when gRPC context is cancelled before the first call is made.

This is not related to #14, I just noticed it when playing with that. Example crash is below.

Manual failing run with the OSS agent:

$ java -agentpath:./profiler_java_agent.so
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-server to select the "server" VM
The default VM is server,
because you are running on a server-class machine.

PiperOrigin-RevId: 262978966
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants