System.java Development Question (original) (raw)

Claes Redestad claes.redestad at oracle.com
Mon Aug 6 06:12:35 UTC 2018


On 2018-08-04 14:29, mr rupplin wrote:

Any help?

I think it would help if you described what you're trying to achieve, rather than the current stumbling block.[0]

Reading between the lines then it seems you're trying to add some kind of adhoc allocation profiling, so I wonder if you've seen the Low Overhead Heap-Profiling work that went into jdk/jdk just a few weeks ago?[1]

If it doesn't fit your use-case - or you really need something like it applied to JDK 9 - it might still be good advice to study the code and approach taken there before reverse-engineering the entire OpenJDK source code... :-)

/Claes

[0] https://en.wikipedia.org/wiki/XY_problem [1] Initial implementation: http://hg.openjdk.java.net/jdk/jdk/rev/e2a7f431f65c Impl RFE: https://bugs.openjdk.java.net/browse/JDK-8203394 JEP: https://bugs.openjdk.java.net/browse/JDK-8203394

(See the JEP for follow-up bug fixes you'd need to consider if you'd ever attempt to backport this)



More information about the core-libs-dev mailing list