Skip to content

JVM does not exit immediately after main method exits when akka-actor instrumentation is enabled #13066

@NomadBlacky

Description

@NomadBlacky

Describe the bug

When using OpenTelemetry Java agent v2.9.0 or later with Akka, it takes a long time from the end of the main method to the end of the JVM.

Steps to reproduce

Expected behavior

The JVM exits immediately after the main method finishes.

Actual behavior

The JVM does not exit immediately after the main method exits.

Javaagent or library instrumentation version

javaagent v2.9.0 or later

Environment

JDK: temurin:21
OS:

ProductName:            macOS
ProductVersion:         14.6.1
BuildVersion:           23G93

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions