title: How to record allocations with JFR on command line?
body: <p>I have a profile I've created with Java Mission Control that has allocation profiling enabled. When I used it from the JMC UI to record, everything works fine and I get the results.</p>
  
  <p>However, after exporting the settings and trying to record with JFR on command line, I don't get the allocations recorded, even though I get other profiling information.</p>
  
  <p>I run the recording with the following settings:
  <code>JAVA_OPTS="$JAVA_OPTS -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:FlightRecorderOptions=defaultrecording=true,settings='&lt;path_to_settings&gt;/settings.jfc',dumponexit=true,dumponexitpath=&lt;output&gt;" java -jar stuff</code></p>
  
  <p>When loading the recording in JMC and checking the memory part, I see message <code>Event type 'Allocation in new TLAB' is not enabled in this recording</code>.</p>
  
  <p>The settings file is here: <a href="https://gist.github.com/jmiettinen/1976f9bbe156ecb5e232" rel="noreferrer">https://gist.github.com/jmiettinen/1976f9bbe156ecb5e232</a> and it has the relevant settings <code>java/object_alloc_in_new_TLAB</code> and <code>java/object_alloc_outside_TLAB</code>enabled.</p>
  
  <p>Am I missing something here? I am running <code>1.8.0_66</code> and would want to have a continuous recording from the start of the application until it is stopped.</p>