Fix for JDK-8203664 disables JFR if it is enabled during CDS static archive dumping.
If we'd like to make the CDS dumping more automatic in the future, it is important to support JFR during CDS dumping.
Some technical challenges to consider:
1) JFR rewrites some core libraries classes to add tracing
2) issues with add-exports/add-reads
If we'd like to make the CDS dumping more automatic in the future, it is important to support JFR during CDS dumping.
Some technical challenges to consider:
1) JFR rewrites some core libraries classes to add tracing
2) issues with add-exports/add-reads