harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Estelle Liu" <lyy1...@gmail.com>
Subject [jitrino][profile]how to use EdgeProfiler
Date Sat, 31 Mar 2007 05:39:11 GMT
Hi,all,
I wrote a configure file and used an edge profiler. Assertion error occurs
when running  simple bytecode such as HelloWorld.
The error  is:
File: ...\jitrino\dynopt\EdgeProfiler.cpp
Line: 266
Expression: edgeFreq >= 0

It seems edgeFreq is negative,but why? Is my configure file something wrong?

My configure file is as follow:

chains=chain1,chain2
chain1.jits=JET_CLINIT
chain2.jits=CD_OPT,CD_OPT2
chain1.filter=+::<clinit>
chain1.filter=-

JET_CLINIT.file=jitrino
CD_OPT.file=jitrino
CD_OPT2.file=jitrino

#Confuguration of profile collector and recompilation
EDGE_PROF.profilerType=EDGE_PROFILER
EDGE_PROF.entryThreshold=10000
EDGE_PROF.backedgeThreshold=40000
EDGE_PROF.tbsTimeout=10
EDGE_PROF.tbsInitialTimeout=0
CD_OPT.genProfile=EDGE_PROF
CD_OPT2.useProfile=EDGE_PROF

# configuration of JET_CLINIT
-XDjit.JET_CLINIT.path=

#configuration of CD_OPT
-XDjit.CD_OPT.path=opt_init,translator,optimizer,hir2lir,codegen
-XDjit.CD_OPT.path.optimizer=ssa,devirt,inline,uce,purge,simplify,dce,uce,
edge_instrument
,lazyexc,memopt,simplify,dce,uce,lower,dessa,statprof,markglobals
-XDjit.CD_OPT.path.codegen=lock_method
,bbp,btr,gcpoints,cafl,dce1,i8l,api_magic,early_prop,peephole,itrace-,native,constraints,dce2,regalloc,spillgen,layout,copy,rce+,stack,break-,iprof-,peephole,emitter!,si_insts,gcmap,info,unlock_method
-XDjit.CD_OPT.path.dce1=cg_dce
-XDjit.CD_OPT.path.dce2=cg_dce
-XDjit.CD_OPT.path.regalloc=bp_regalloc1,bp_regalloc2
-XDjit.CD_OPT.path.bp_regalloc1=bp_regalloc
-XDjit.CD_OPT.path.bp_regalloc2=bp_regalloc
#inliner configuration of CD_OPT
-XDjit.CD_OPT.CD_OPT_inliner_pipeline.filter=-
-XDjit.CD_OPT.CD_OPT_inliner_pipeline.path=ssa,devirt
-XDjit.CD_OPT.arg.optimizer.inline.pipeline=CD_OPT_inliner_pipeline
-XDjit.CD_OPT.arg.codegen.dce1.early=yes
-XDjit.CD_OPT.arg.codegen.regalloc.bp_regalloc1.regs=ALL_GP
-XDjit.CD_OPT.arg.codegen.regalloc.bp_regalloc2.regs=ALL_XMM
-XDjit.CD_OPT.arg.codegen.btr.insertCMOVs=no
-XDjit.CD_OPT.arg.codegen.btr.removeConstCompare=yes

#configuration of CD_OPT2
-XDjit.CD_OPT2.path=opt_init,translator,optimizer,hir2lir,codegen
-XDjit.CD_OPT2.path.optimizer=ssa,devirt,inline,uce,purge,simplify,dce,uce,
edge_annotate
,lazyexc,memopt,simplify,dce,uce,lower,dessa,statprof,markglobals
-XDjit.CD_OPT2.path.codegen=lock_method
,bbp,btr,gcpoints,cafl,dce1,i8l,api_magic,early_prop,peephole,itrace-,native,constraints,dce2,regalloc,spillgen,layout,copy,rce+,stack,break-,iprof-,peephole,emitter!,si_insts,gcmap,info,unlock_method
-XDjit.CD_OPT2.path.dce1=cg_dce
-XDjit.CD_OPT2.path.dce2=cg_dce
-XDjit.CD_OPT2.path.regalloc=bp_regalloc1,bp_regalloc2
-XDjit.CD_OPT2.path.bp_regalloc1=bp_regalloc
-XDjit.CD_OPT2.path.bp_regalloc2=bp_regalloc
#inliner configuration of CD_OPT2
-XDjit.CD_OPT2.CD_OPT2_inliner_pipeline.filter=-
-XDjit.CD_OPT2.CD_OPT2_inliner_pipeline.path=ssa,devirt
-XDjit.CD_OPT2.arg.optimizer.inline.pipeline=CD_OPT2_inliner_pipeline
-XDjit.CD_OPT2.arg.codegen.dce1.early=yes
-XDjit.CD_OPT2.arg.codegen.regalloc.bp_regalloc1.regs=ALL_GP
-XDjit.CD_OPT2.arg.codegen.regalloc.bp_regalloc2.regs=ALL_XMM
-XDjit.CD_OPT2.arg.codegen.btr.insertCMOVs=no
-XDjit.CD_OPT2.arg.codegen.btr.removeConstCompare=yes
-XDjit.arg.codegen.emitter.align=4

#system properties
-Djava.compiler=client



Thanks!
-- 
Estelle

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message