BSD Ports

java/lightweight-java-profiler g20170308 DragonFly

Lightweight Java profiler which can be used for flamegraphs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20
Categories
devel, java
Package size
14.4 KiB, 34.6 KiB installed

Description

lightweight-java-profiler

a lightweight Java profiler which can be used for flamegraphs

The lightweight Java profiler acts as an agent library and generates execution stacks. These can be fed into flamegraph utils to profile Java applications at minimal cost.

In the other systems

SystemPortVersion
DragonFlyjava/lightweight-java-profilerg20170308
FreeBSDjava/lightweight-java-profilerg20170308_3

Install

Binary package:

pkg install lightweight-java-profiler

From DPorts:

cd /usr/dports/java/lightweight-java-profiler && make install clean

Dependencies

Run dependencies 2

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To use the lightweight-java-profiler, you can invoke Java as follows:

java -agentpath:path/to/liblagent.so[:file=fname] It will spit out stack traces into traces.txt (or into the optional fname passed to the agent). The current implementation samples every 1/100th of a second. It stores the first 3000 stack traces it encounters; additional stack traces will be ignored, but duplicate stack traces will continue to be counted indefinitely (or until the counter overflows, which will take a while).

===>   NOTICE:

The lightweight-java-profiler port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing