RFR(S): 8226779: [TESTBUG] Test JFR API from Java agent

mikhailo.seledtsov at oracle.com mikhailo.seledtsov at oracle.com
Tue Aug 13 02:40:23 UTC 2019


During conversation Erik and Markus have recommended the following changes:

   - change the package (and test location) to jdk.jfr.javaagent

   - extract agent-related utility methods into a utility class

Here is an updated webrev: 
http://cr.openjdk.java.net/~mseledtsov/8226779.02/


Thanks,

Misha

On 7/26/19 3:08 PM, mikhailo.seledtsov at oracle.com wrote:
> Please review this new test. It is testing interaction between JFR and 
> Java Agent,
> creating recordings from within Java agent, both premain() and 
> agentmain().
> This is also a bit of a stress test since it tests large number of 
> recordings from
> multiple threads, from the agent, hence I placed it under 
> jfr/stress/javaagent.
>
>     JBS: https://bugs.openjdk.java.net/browse/JDK-8226779
>     Webrev: http://cr.openjdk.java.net/~mseledtsov/8226779.00/
>     Testing:
>       1. Running the test itself multiple times on multiple platforms 
> - in progress
>          (Passed on Mac so far)
>
> Thank you,
> Misha
>


More information about the hotspot-jfr-dev mailing list