Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/deoptimization.cpp @ 1937:4853c5cad3aa
More deoptmization tracing.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Thu, 23 Dec 2010 22:14:31 +0100 |
parents | ce6848d0666d |
children | 06f017f7daa7 |
comparison
equal
deleted
inserted
replaced
1936:8d88c9ac9247 | 1937:4853c5cad3aa |
---|---|
111 | 111 |
112 // Note: there is a safepoint safety issue here. No matter whether we enter | 112 // Note: there is a safepoint safety issue here. No matter whether we enter |
113 // via vanilla deopt or uncommon trap we MUST NOT stop at a safepoint once | 113 // via vanilla deopt or uncommon trap we MUST NOT stop at a safepoint once |
114 // the vframeArray is created. | 114 // the vframeArray is created. |
115 // | 115 // |
116 | |
117 if (TraceDeoptimization) { | |
118 tty->print_cr("fetching unroll info"); | |
119 } | |
116 | 120 |
117 // Allocate our special deoptimization ResourceMark | 121 // Allocate our special deoptimization ResourceMark |
118 DeoptResourceMark* dmark = new DeoptResourceMark(thread); | 122 DeoptResourceMark* dmark = new DeoptResourceMark(thread); |
119 assert(thread->deopt_mark() == NULL, "Pending deopt!"); | 123 assert(thread->deopt_mark() == NULL, "Pending deopt!"); |
120 thread->set_deopt_mark(dmark); | 124 thread->set_deopt_mark(dmark); |