comparison src/share/vm/runtime/globals.hpp @ 6972:bd7a7ce2e264

6830717: replay of compilations would help with debugging Summary: When java process crashed in compiler thread, repeat the compilation process will help finding root cause. This is done with using SA dump application class data and replay data from core dump, then use debug version of jvm to recompile the problematic java method. Reviewed-by: kvn, twisti, sspitsyn Contributed-by: yumin.qi@oracle.com
author minqi
date Mon, 12 Nov 2012 14:03:53 -0800
parents ec204374e626
children 80e866b1d053
comparison
equal deleted inserted replaced
6965:3be318ecfae5 6972:bd7a7ce2e264
3187 "Read compiler commands from this file [.hotspot_compiler]") \ 3187 "Read compiler commands from this file [.hotspot_compiler]") \
3188 \ 3188 \
3189 product(ccstrlist, CompileCommand, "", \ 3189 product(ccstrlist, CompileCommand, "", \
3190 "Prepend to .hotspot_compiler; e.g. log,java/lang/String.<init>") \ 3190 "Prepend to .hotspot_compiler; e.g. log,java/lang/String.<init>") \
3191 \ 3191 \
3192 develop(bool, ReplayCompiles, false, \
3193 "Enable replay of compilations from ReplayDataFile") \
3194 \
3195 develop(ccstr, ReplayDataFile, "replay.txt", \
3196 "file containing compilation replay information") \
3197 \
3198 develop(intx, ReplaySuppressInitializers, 2, \
3199 "Controls handling of class initialization during replay" \
3200 "0 - don't do anything special" \
3201 "1 - treat all class initializers as empty" \
3202 "2 - treat class initializers for application classes as empty" \
3203 "3 - allow all class initializers to run during bootstrap but" \
3204 " pretend they are empty after starting replay") \
3205 \
3206 develop(bool, ReplayIgnoreInitErrors, false, \
3207 "Ignore exceptions thrown during initialization for replay") \
3208 \
3209 develop(bool, DumpReplayDataOnError, true, \
3210 "record replay data for crashing compiler threads") \
3211 \
3192 product(bool, CICompilerCountPerCPU, false, \ 3212 product(bool, CICompilerCountPerCPU, false, \
3193 "1 compiler thread for log(N CPUs)") \ 3213 "1 compiler thread for log(N CPUs)") \
3194 \ 3214 \
3195 develop(intx, CIFireOOMAt, -1, \ 3215 develop(intx, CIFireOOMAt, -1, \
3196 "Fire OutOfMemoryErrors throughout CI for testing the compiler " \ 3216 "Fire OutOfMemoryErrors throughout CI for testing the compiler " \