Skip to content

Commit

Permalink
build: add support for -DFlightRecording="true"
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Dec 17, 2024
1 parent 9b3b2d1 commit 203b87e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ant/build-core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,8 @@
<jvmarg value="-XX:+UnlockExperimentalVMOptions" if:true="${UseEpsilonGC}"/>
<jvmarg value="-XX:+UseEpsilonGC" if:true="${UseEpsilonGC}"/>
<jvmarg value="-XX:+AlwaysPreTouch" if:true="${UseEpsilonGC}"/>
<jvmarg value="-XX:StartFlightRecording=disk=true,dumponexit=true,filename=${temp}/../lucee-testcases.jfr,maxsize=1024m,maxage=1d,settings=profile,path-to-gc-roots=true" if:true="${FlightRecording}"/>
<jvmarg value="-XX:FlightRecorderOptions=stackdepth=128" if:true="${FlightRecording}"/>
<!--
<jvmarg value="-XX:StartFlightRecording=disk=true,dumponexit=true,filename=${temp}/../lucee-testcases.jfr,maxsize=1024m,maxage=1d,settings=profile,path-to-gc-roots=true"/>
<jvmarg value="-Dlucee.system.out=file:.../out.txt"/>
Expand Down

0 comments on commit 203b87e

Please sign in to comment.