| Summary: | [PATCH] [NEW PORT] java/jattach: JVM dynamic attach tool | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Michael Zhilin <mizhka> | ||||
| Component: | Individual Port(s) | Assignee: | Tobias Kortkamp <tobik> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | tobik | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Michael Zhilin
2017-09-28 08:45:09 UTC
Committed with some changes. Thanks!
+ ... ${STAGEDIR}/${LOCALBASE}/bin/jattach
This is wrong. LOCALBASE is where ports get their dependencies from.
PREFIX is where they install their own files.
++ifneq ($(findstring FreeBSD,$(UNAME_S)),)
++ CC=cc
++ CFLAGS=-O2
I removed CC and CFLAGS here. Both are inherited from the ports
framework and should not be set directly like this. This way they're
globally overridable.
A commit references this bug: Author: tobik Date: Fri Oct 27 15:52:11 UTC 2017 New revision: 453007 URL: https://svnweb.freebsd.org/changeset/ports/453007 Log: New port: java/jattach The utility to send commands to remote JVM via Dynamic Attach mechanism. All-in-one jmap + jstack + jcmd + jinfo functionality in a single tiny program. No installed JDK required, works with just JRE. This is the lightweight native version of HotSpot Attach API https://docs.oracle.com/javase/8/docs/jdk/api/attach/spec/ WWW: https://github.com/apangin/jattach PR: 222660 Submitted by: Michael Zhilin <mizhka@gmail.com> Changes: head/java/Makefile head/java/jattach/ head/java/jattach/Makefile head/java/jattach/distinfo head/java/jattach/files/ head/java/jattach/files/patch-Makefile head/java/jattach/pkg-descr |