diff --git a/src/main/java/com/semanticcms/openfile/servlet/OpenFile.java b/src/main/java/com/semanticcms/openfile/servlet/OpenFile.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/semanticcms/openfile/servlet/OpenFile.java
+++ b/src/main/java/com/semanticcms/openfile/servlet/OpenFile.java
@@ -96,7 +96,8 @@ final public class OpenFile {
 		String[] getCommand(java.io.File resourceFile) throws IOException;
 	}
 
-	private static final Object fileOpenersLock = new Object();
+	private static class FileOpenersLock {}
+	private static final FileOpenersLock fileOpenersLock = new FileOpenersLock();
 
 	/**
 	 * Registers a file opener.
Each lock object now a small empty class to help identify lock contention.
The lock contention profiler in NetBeans is just showing "java.lang.Object" all over, and can't seem to
get from the lock object id to the actual object in the heap dump using OQL (id not found).