<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 17:54:45 +0000</lastBuildDate>
    <item>
      <title>(Java) GC output profiling using jstat - liqweed</title>
      <link>https://snipplr.com/view/30354/gc-output-profiling-using-jstat</link>
      <description>&lt;p&gt;Prints GC stats every 1 second.&lt;/p&gt;</description>
      <pubDate>Sat, 27 Mar 2010 17:21:30 UTC</pubDate>
      <guid>https://snipplr.com/view/30354/gc-output-profiling-using-jstat</guid>
    </item>
    <item>
      <title>(Java) A Swing ActionListener that opens a JFileChooser and returns the selected file - liqweed</title>
      <link>https://snipplr.com/view/23327/a-swing-actionlistener-that-opens-a-jfilechooser-and-returns-the-selected-file</link>
      <description>&lt;p&gt;A Swing ActionListener that opens a JFileChooser and returns the selected file.&lt;/p&gt;</description>
      <pubDate>Wed, 18 Nov 2009 05:43:57 UTC</pubDate>
      <guid>https://snipplr.com/view/23327/a-swing-actionlistener-that-opens-a-jfilechooser-and-returns-the-selected-file</guid>
    </item>
    <item>
      <title>(Java) Coordinating Runnable tasks using CountDownLatch - liqweed</title>
      <link>https://snipplr.com/view/8721/coordinating-runnable-tasks-using-countdownlatch</link>
      <description>&lt;p&gt;A simple way to parallelize a for loop in Java. Wrapping each iteration (task) with a Runnable, executing them with an ExecutorService (to pool threads) and coordinating them with a simple CountDownLatch.&#13;
&#13;
Due to Java's lack of closures, this simple scenario is rather verbose.&lt;/p&gt;</description>
      <pubDate>Tue, 30 Sep 2008 12:00:06 UTC</pubDate>
      <guid>https://snipplr.com/view/8721/coordinating-runnable-tasks-using-countdownlatch</guid>
    </item>
  </channel>
</rss>
