Skip to content

Commit 30d6dfc

Browse files
committed
Do not use RequestProcessor.getDefault() for invoking GC
1 parent 15b1cd7 commit 30d6dfc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
build.xml.data.CRC32=7448888b
1+
build.xml.data.CRC32=fbd63fa3
22
build.xml.script.CRC32=cfc6f413
33
build.xml.stylesheet.CRC32=[email protected]
44
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
55
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6-
nbproject/build-impl.xml.data.CRC32=7448888b
6+
nbproject/build-impl.xml.data.CRC32=fbd63fa3
77
nbproject/build-impl.xml.script.CRC32=1e1e54da
88
nbproject/build-impl.xml.stylesheet.CRC32=[email protected]

visualvm/applicationviews/src/com/sun/tools/visualvm/application/views/monitor/ApplicationMonitorView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ private void initComponents(final ApplicationMonitorModel model) {
191191

192192
gcButton = new JButton(new AbstractAction(NbBundle.getMessage(ApplicationMonitorView.class, "LBL_Perform_GC")) { // NOI18N
193193
public void actionPerformed(ActionEvent e) {
194-
RequestProcessor.getDefault().post(new Runnable() {
194+
new RequestProcessor("GC Processor").post(new Runnable() { // NOI18N
195195
public void run() {
196196
try {
197197
model.getMemoryMXBean().gc();

0 commit comments

Comments
 (0)