Thanks to visit codestin.com
Credit goes to github.com

Skip to content

JVM Agent not compatible with -XX:+PerfDisableSharedMem #198

@thobbs

Description

@thobbs

For some reason, the Jolokia agent does not appear to be compatible with the -XX:+PerfDisableSharedMem JVM option.

I'm testing this against Cassandra. When running with the option:

$ java -jar ~/Downloads/jolokia-jvm-1.3.0-agent.jar list
6826   /home/thobbs/Downloads/jolokia-jvm-1.3.0-agent.jar list

And when running without the option (no other changes):

$ java -jar ~/Downloads/jolokia-jvm-1.3.0-agent.jar list
7108   /home/thobbs/Downloads/jolokia-jvm-1.3.0-agent.jar list
6917   org.apache.cassandra.service.CassandraDaemon

Although I don't think it makes a difference, this is my Java version:

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions