Bug 130911 - Test suite failures
diff --git a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
index 30428fd..8d28454 100644
--- a/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
+++ b/org.eclipse.jdt.debug/model/org/eclipse/jdt/internal/debug/core/model/JDIThread.java
@@ -416,7 +416,7 @@
 	 * 
 	 * @see IThread#getStackFrames()
 	 */
-	public IStackFrame[] getStackFrames() throws DebugException {
+	public synchronized IStackFrame[] getStackFrames() throws DebugException {
 		if (isSuspendedQuiet()) {
 			return new IStackFrame[0];
 		}
@@ -952,7 +952,7 @@
 	/**
 	 * @see IThread#getTopStackFrame()
 	 */
-	public IStackFrame getTopStackFrame() throws DebugException {
+	public synchronized IStackFrame getTopStackFrame() throws DebugException {
 		List c= computeStackFrames();
 		if (c.isEmpty()) {
 			return null;
@@ -1094,7 +1094,7 @@
 		return fTerminated;
 	}
 	
-	public boolean isOutOfSynch() throws DebugException {
+	public synchronized boolean isOutOfSynch() throws DebugException {
 		if (isSuspended() && ((JDIDebugTarget)getDebugTarget()).hasHCRFailed()) {
 			List frames= computeStackFrames();
 			Iterator iter= frames.iterator();