Giter Club home page Giter Club logo

homebrew-tap's Introduction

qwwdfsad tap

Small Homebrew tap for Java-related profiling tools.

Usage:

brew tap qwwdfsad/tap
brew install async-profiler
brew install hsdis

async-profiler

Formula for the binary installation of async-profiler that adds asprof to the corresponding */bin/* and provides a convenience wrapper over converter.jar.

Installation:

brew tap qwwdfsad/tap
brew install async-profiler

Usage:

asprof -f profile.html -d 20 <pid|JPS name>
asprof-converter jfr2flame --bci profile.jfr profile.html

Additionaly, formula installs libasyncProfiler.dylib into Homebrew prefix ($HOMEBREW_PREFIX/lib/) for the easier discovery.

To further use async-profiler with JMH's -prof async seamlessly, consider adding the installed dylib into DYLD_LIBRARY_PATH. The brew installation will hint you on that.

hsdis

Formula for the installation of hsdis -- Hotspot disassembly library for Java:

brew tap qwwdfsad/tap
brew install hsdis

The formula builds it from OpenJDK sources against Capstone with the effortless-hsdis and installs the hsdis dylib into Homebrew keg.

The installer will give you a hint what to do next:

hsdis was installed into /opt/homebrew/opt/hsdis/libexec/lib/hsdis-aarch64.dylib
In order to make it locateable by the JVM, you can either add it to Java's lib folder ($JAVA_HOME/lib/)
or add a lib path to the $DYLD_LIBRARY_PATH:
$ echo 'export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/opt/homebrew/opt/hsdis/libexec/lib/' >> ~/.zshrc

homebrew-tap's People

Contributors

qwwdfsad avatar

Stargazers

Mirza Aliev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.