System.java Development Question (original) (raw)

mr rupplin mearvk at outlook.com
Mon Aug 6 15:55:53 UTC 2018


Clases, Hello.

Firstly thank you for replying. Of course our goal is to show the strengths in the OpenJDK.

Some weeks ago we were working with the ClassFileTransformer as an initial hook for a modest databasing proposal. We found it to be a dead end.

Of course the company has greenlit further work into the area. We would like to point out JDK did not have any way to hook the malloc sequence at the time.

Please refer us to the technical lay for the Overhead Heap-Profiling reference you refer to; Ok.

Thanks,

Max R.


From: Claes Redestad <claes.redestad at oracle.com> Sent: Monday, August 6, 2018 2:12:35 AM To: core-libs-dev at openjdk.java.net; mearvk at outlook.com Subject: Re: System.java Development Question

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