Friday, November 13, 2009

JRockit crash resolved

if your dump file contains something like:

Thread Stack Trace:
at known_ld_opt+685()@0x2b36a098d091
at strength_reduction_generic+158()@0x2b36a098d287
at optStrengthReduction+152()@0x2b36a098d36b
at optmanOptimizeMIR+330()@0x2b36a0935cd7
at generateMethodWithStage+102()@0x2b36a08212b7
at cmgrGenerateMethodFromPhase+216()@0x2b36a0822126
at cmgrGenerateNormalMethod+91()@0x2b36a082122d
at cmgrGenerateCode+209()@0x2b36a08210c1
at generate_code2+205()@0x2b36a09048a3
at codegenThread+1006()@0x2b36a0904f45
at tsiCallStartFunction+67()@0x2b36a08dd5cb
at tsiThreadStub+308()@0x2b36a08de7d5
at ptiThreadStub+14()@0x2b36a09468a6
at start_thread+199()@0x3def806367


a workaround could be that you add the method reported by the
Method :
line to an exclusion file myOptfile, which tells JRockit which methods it should NOT optimize.

then start your application with the flags
-Xverbose:opt -Djrockit.optfile=myOptfile

No comments: