Skip to content

Commit

Permalink
Avoid WindowsFS in LongGCDisruption (#88110) (#88160)
Browse files Browse the repository at this point in the history
Closes #87914

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
DaveCTurner and elasticmachine committed Jun 30, 2022
1 parent b9a6b28 commit 8870140
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ public class LongGCDisruption extends SingleNodeDisruption {
// security manager is shared across all nodes and it uses synchronized maps internally
Pattern.compile("java\\.lang\\.SecurityManager"),
// SecureRandom instance from SecureRandomHolder class is shared by all nodes
Pattern.compile("java\\.security\\.SecureRandom") };
Pattern.compile("java\\.security\\.SecureRandom"),
// Lucene's WindowsFS is shared across nodes and contains some coarse synchronization
Pattern.compile("org\\.apache\\.lucene\\.tests\\.mockfile\\.WindowsFS") };

private static final ThreadMXBean threadBean = ManagementFactory.getThreadMXBean();

Expand Down

0 comments on commit 8870140

Please sign in to comment.