summaryrefslogtreecommitdiffstats
path: root/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java
diff options
context:
space:
mode:
Diffstat (limited to 'base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java')
-rw-r--r--base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java b/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java
index 5822542a3..40499577e 100644
--- a/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java
+++ b/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java
@@ -144,7 +144,7 @@ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable {
return null;
}
- public void updateGeneralPanel() {
+ public synchronized void updateGeneralPanel() {
Runtime.getRuntime().gc();
String text =
"JDK VM Information " + "\n" +
@@ -161,7 +161,7 @@ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable {
mTextArea.setText(text);
}
- public void updateThreadPanel() {
+ public synchronized void updateThreadPanel() {
Thread currentThread = Thread.currentThread();
Vector<Vector<String>> data = new Vector<Vector<String>>();
Thread threads[] = new Thread[100];