org.gridkit.lab::jvm-attach-api

Tooling for distributed application development in Java

License

License

GroupId

GroupId

org.gridkit.lab
ArtifactId

ArtifactId

jvm-attach-api
Last Version

Last Version

1.5
Release Date

Release Date

Type

Type

jar
Description

Description

org.gridkit.lab::jvm-attach-api
Tooling for distributed application development in Java
Project URL

Project URL

http://code.google.com/p/gridkit/jvm-attach-api
Source Code Management

Source Code Management

https://github.com/gridkit/jvm-attach

Download jvm-attach-api

How to add to project

<!-- https://jarcasting.com/artifacts/org.gridkit.lab/jvm-attach-api/ -->
<dependency>
    <groupId>org.gridkit.lab</groupId>
    <artifactId>jvm-attach-api</artifactId>
    <version>1.5</version>
</dependency>
// https://jarcasting.com/artifacts/org.gridkit.lab/jvm-attach-api/
implementation 'org.gridkit.lab:jvm-attach-api:1.5'
// https://jarcasting.com/artifacts/org.gridkit.lab/jvm-attach-api/
implementation ("org.gridkit.lab:jvm-attach-api:1.5")
'org.gridkit.lab:jvm-attach-api:jar:1.5'
<dependency org="org.gridkit.lab" name="jvm-attach-api" rev="1.5">
  <artifact name="jvm-attach-api" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.gridkit.lab', module='jvm-attach-api', version='1.5')
)
libraryDependencies += "org.gridkit.lab" % "jvm-attach-api" % "1.5"
[org.gridkit.lab/jvm-attach-api "1.5"]

Dependencies

compile (1)

Group / Artifact Type Version
org.slf4j : slf4j-api Optional jar 1.6.6

test (2)

Group / Artifact Type Version
junit : junit jar 4.10
ch.qos.logback : logback-classic jar 1.0.6

Project Modules

There are no modules declared in this project.

JVM Attach Protocol Wrapper

JVM Attach Protocol allow diagnostic tools send various commands to JVM identified by PID. Exact attach protocol is platform dependend, but standarized can comatible between JVM versions.

Usage of JVM Attach Protocol requires tools.jar in class path.

This project wraps API available via tools.jar with some helper code to

  • add tools.jar to classpath automatically
  • provide timeouts for command invocation
  • offer utility to parse JVM command output (e.g. heap histogram or stack trace)

In addition, API for HotSpot JVM perf counter is also included.

org.gridkit.lab

Versions

Version
1.5
1.4
1.3
1.2
1.1
1.0.1
1.0