I've got 2 related questions:
1) Is it possible using -XX:StartFlightRecording and/or XX:FlightRecorderOptions to cause flight recording to only keep the last N minutes worth of recorded data on disk, so that any any point one can view data on the last N minutes worth of activity? How?
2) What is the maxage parameter supposed to effect? Reading http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/java.html it seems like it's supposed to do the above, but I've not been able to see any difference in behavior with any of these args, and in particular, each of them is continuing to fill up the /tmp dir. with .jfc files well past the maxage limit.
No maxage: -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=false,dumponexit=true,dumponexitpath=/tmp,loglevel=trace
Maxage on StartFlightRecording: -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=maxage=1m -XX:FlightRecorderOptions=defaultrecording=false,dumponexit=true,dumponexitpath=/tmp,loglevel=trace
Maxage on FlightRecorderOptions: -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=false,dumponexit=true,dumponexitpath=/tmp,loglevel=trace,maxage=1m
thx,
Chris