Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 233548

Summary: dev-java/tijmp (java 1.6 compatible replacement for dev-java/jmp) keyword request
Product: Gentoo Linux Reporter: Thomas Kear <thomas.kear>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: enhancement CC: ppc
Priority: High Keywords: KEYWORDREQ
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292001    
Attachments: tijmp-0.7.ebuild
files/tijmp-0.7-makefile.patch

Description Thomas Kear 2008-08-01 04:36:07 UTC
By the same author as dev-java/jmp, tijmp is a memory profiler that works with Java 1.6.

Ebuild patches Makefile.in to stop the default install target installing README and ChangeLog (I don't know if I've picked the best way to do this).  A man page does not appear to be provided in the source distribution.

Repoman report for this ebuild:
  changelog.missing             1
   dev-java/tijmp/ChangeLog
  metadata.missing              1
   dev-java/tijmp/metadata.xml
  ebuild.allmasked              1
   dev-java/tijmp

Tested on ~x86, sun-jdk-1.6.0.07.
Comment 1 Thomas Kear 2008-08-01 04:36:39 UTC
Created attachment 161899 [details]
tijmp-0.7.ebuild
Comment 2 Thomas Kear 2008-08-01 04:36:58 UTC
Created attachment 161900 [details, diff]
files/tijmp-0.7-makefile.patch
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-04-05 12:15:22 UTC
Package added. ppc please add ~ppc keyword so we can eventually remove dev-java/jmp as part of java 1.5 EOL

It should hopefully compile fine, as I already patched for some weird header assumptions that don't hold for ibm-jdk-bin.

How to test:
- you need to be in X
- run some java program using 'tijmp' instead of 'java' command. Anything is fine, even the simple stuff in https://overlays.gentoo.org/svn/proj/java/testcases/generic/pathtest
- there should be a window with the profiler. See if the buttons do something and don't crash.
- kill it with ctrl+c on the console (clicking close button doesn't seem to work but maybe it just can't for the profiling agents, not a big issue anyway)

Thanks.
Comment 4 Joe Jezak (RETIRED) gentoo-dev 2010-05-11 12:58:33 UTC
Seems to work fine, marked ~ppc.