1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Making the top level "computeStackFrame" synchronized to prevent unnecessary stack computations.

This commit is contained in:
Mikhail Khodjaiants 2010-04-05 00:12:01 +00:00
parent 60322d05d5
commit 0226852623

View file

@ -326,7 +326,7 @@ public class CThread extends CDebugElement implements ICThread, IRestart, IResum
* <ul>
* </ul>
*/
public List computeStackFrames() throws DebugException {
public synchronized List computeStackFrames() throws DebugException {
return computeStackFrames( refreshChildren() );
}