JEP 328 : Flight Recorder open source preview
Dmitry Samersoff
dms at samersoff.net
Sun Apr 15 12:34:15 UTC 2018
Hi Markus,
I'm trying to compile the patch but get following errors:
Compiling 1616 files for jdk.localedata
.../hs/src/jdk.jfr/share/classes/jdk/jfr/internal/SecuritySupport.java:60:
error: package jdk.internal.misc is not visible
import jdk.internal.misc.Unsafe;
^
(package jdk.internal.misc is declared in module java.base, which does
not export it to module jdk.jfr)
.../hs/src/jdk.jfr/share/classes/jdk/jfr/internal/SecuritySupport.java:61:
error: package jdk.internal.module does not exist
import jdk.internal.module.Modules;
^
.../hs/src/jdk.jfr/share/classes/jdk/jfr/internal/JVM.java:31: error:
package jdk.internal is not visible
import jdk.internal.HotSpotIntrinsicCandidate;
etc.
Any ideas of what could be wrong?
-Dmitry
On 04/07/2018 01:28 PM, Markus Gronlund wrote:
> Greetings,
>
>
>
> This is a preview of a large part of the source code for JEP 328 : Flight Recorder[1].
>
>
>
> Webrev: http://cr.openjdk.java.net/~mgronlun/JEP328_FlightRecorder/Preview/webrev/index.html
>
>
>
> It has been tested on the following platforms:
>
> * Linux-x64
>
> * Windows-x64
>
> * MacOSX-x64
>
>
>
> We are planning to send out the code for full review in a couple of weeks.
>
>
>
> At this point, we are preparing changes to move to a single backend, as suggested in the JEP.
>
> These will encompass the following:
>
>
>
> 1. Rename macro INCLUDE_TRACE to INCLUDE_JFR.
>
> 2. Remove flag -XX:[+|-]EnableTracing.
>
> 3. Cleanup unused elements and attributes by restructuring the trace xml files.
>
> 4. Move code under hotspot/share/trace to hotspot/share/jfr/metadata.
>
>
>
> Thank you
>
> Markus and Erik
>
>
>
> [1] http://openjdk.java.net/jeps/328
>
>
>
> PS the patch was generated from the hs repository [2] using change [3] as parent.
>
> [2] http://hg.openjdk.java.net/jdk/hs
>
> [3] changeset: 49618:947560700a09
>
> user: stefank
>
> date: Fri Apr 06 13:55:25 2018 +0200
>
> summary: 8201136: Move GC flags from globals.hpp to GC specific files
>
--
Dmitry Samersoff
http://devnull.samersoff.net
* There will come soft rains ...
More information about the hotspot-jfr-dev
mailing list