I am using JavaSE Embedded 8 compact 2 profile on an embedded platform (like Rasp Pi). I choose compact 2 profile to have footprint as small as possible.
For development purposes, I want to do profiling, without changing the profile during runtime (as part of OS in flash memory). JavaSE Embedded 8 does include flight recorder for profiling purposes as a really cool and helpful tool. But: it requires FullJRE profile.
The page from Oracle at http://www.oracle.com/technetwork/java/embedded/resources/tech/java-flight-rec-on-java-se-emb-8-2158734.html states:
Note that JFR is available with Java SE Embedded 8 Full JRE, not with the Compact Profiles.
Is there a technical chance to get that working on compact 2 profile? E.g. by creating a customized version of JVM which includes the addons from flight recorder? Or are there native components needed which are in FullJRE VMs only?
Update: I found meanwhile a post from Jim Connor with a statement to compact profiles. See https://blogs.oracle.com/jtc/entry/using_java_fligt_recorder_with. Jim describes in detail how to run flight recorder on compact 3 profile. As flight recorder depends on javax.management he thinks running on compact 1/2 profile does not work without substantial changes.