Planet JDKNews and views from the Java SE Development-Kit CommunityVariousMarcus Hirt: Reading JMX MetricsMarcus Hirthttp://hirt.se/blog/?p=6302015-01-29T11:29:14Z2015-01-29T11:29:14Z <div xmlns="http://www.w3.org/1999/xhtml">I found this question on Stack Overflow about how to connect to a locally running process and read JMX metrics. I thought I’d explain a little bit more in detail here on the blog. The steps involved are: Try to get the JMX Service URL for the local JMX agent. If you couldn’t, try to […]</div> Marcus2015-01-29T11:29:14ZDavid Dice: Using reader-writer locks to improve hardware TLEDavid Dicehttps://blogs.oracle.com/dave/entry/using_reader_writer_locks_to2015-01-28T21:16:24Z2015-01-28T21:16:24Z <div xmlns="http://www.w3.org/1999/xhtml"><p>At its most simple, traditional hardware TLE (Transactional Lock Elision) operates as follows : start a hardware transaction; "subscribe" to the lock state (committing or aborting if the lock is found to be held); execute the critical section; and finally commit at the end of the critical section. For the purposes of discussion I'm assuming an Intel TSX-RTM implementation of hardware transactional memory (HTM). If ...</p></div> Dave 2015-01-28T21:16:24ZDalibor Topić: Next Gig: FOSDEMDalibor Topićurn:lj:livejournal.com:atom1:robilad:1428022015-01-28T19:56:16Z2015-01-28T19:56:16Z <div xmlns="http://www.w3.org/1999/xhtml">I'll be speaking on <a shape="rect" href="https://fosdem.org/2015/schedule/event/crowd_testing/">testing</a> OpenJDK in the Java dev room at FOSDEM next weekend. If you don't see me there or at the Adoption Group <a shape="rect" href="https://fosdem.org/2015/schedule/event/adoption_group_qa/">Q&amp;A</a>, chances are I'll be around the MySQL Community stand. See you there!</div> 2015-01-28T19:56:16ZDavid Dice: Blizzard Preparations David Dicehttps://blogs.oracle.com/dave/entry/blizzard_preparations2015-01-27T04:21:40Z2015-01-27T04:21:40Z <div xmlns="http://www.w3.org/1999/xhtml"><p>3 cars in a 2-car garage</p></div> Dave 2015-01-27T04:21:40ZDavid Dice: AVIS FrankfurtDavid Dicehttps://blogs.oracle.com/dave/entry/avis_frankfurt2015-01-26T20:37:14Z2015-01-26T20:37:14Z <div xmlns="http://www.w3.org/1999/xhtml"><p>I recently rented a car from AVIS at Frankfurt for travel to Dagstuhl. We drove to Dagstuhl, left it parked for 5 days, and returned without incident. On return, the attendant -- very pleasant, btw -- found 'damage' to the front driver's side rim and wanted to know details about the 'accident' . There was no accident while the car was in my hands. I related such ...</p></div> Dave 2015-01-26T20:37:14ZAndrew Hughes: [SECURITY] IcedTea 1.13.6 for OpenJDK 6 Released!Andrew Hugheshttp://blog.fuseyism.com/?p=7922015-01-26T20:37:12Z2015-01-26T20:37:12Z <div xmlns="http://www.w3.org/1999/xhtml">The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as a PulseAudio sound driver, the ability to build against system libraries and support for alternative virtual machines and architectures beyond those supported by OpenJDK. This release updates our OpenJDK 6 support […]</div> gnu_andrew2015-01-26T20:37:12ZJoe Darcy: Advice on removing javac lint warningsJoe Darcyhttps://blogs.oracle.com/darcy/entry/warnings_removal_advice2015-01-25T22:53:32Z2015-01-25T22:53:32Z <div xmlns="http://www.w3.org/1999/xhtml"><p> Over the last twelve months or so, one of my projects has been fixing and reviewing fixes of <code>javac</code> lint warnings in the JDK 9 code base (<a shape="rect" href="https://bugs.openjdk.java.net/browse/JDK-8022190" title="JDK-8022190 Fix varargs lint warnings in the JDK">varargs</a>, <a shape="rect" href="https://bugs.openjdk.java.net/browse/JDK-8039501" title="JDK-8039501 Fix fallthrough lint warnings in jdk libraries">fallthrough</a>, <a shape="rect" href="https://bugs.openjdk.java.net/browse/JDK-8032976" title="JDK-8032976 Fix serial lint warnings in jdk libraries">serial</a>, <a shape="rect" href="https://bugs.openjdk.java.net/browse/JDK-8044613" title="JDK-8044613 Fix finally lint warnings in jdk libraries">finally</a>, <a shape="rect" href="https://bugs.openjdk.java.net/browse/JDK-8046270" title="JDK-8046270 Fix overrides lint warnings jdk libraries">overrides</a>, <a shape="rect" href="https://bugs.openjdk.java.net/browse/JDK-8066616" title="JDK-8066616 Suppress deprecation warnings in jdk libraries">deprecation</a>, <a shape="rect" href="https://bugs.openjdk.java.net/browse/JDK-8039096" title="JDK-8039096 Fix raw and unchecked lint warnings in jdk libraries">raw and unchecked</a>) and once a warning category is cleared, making new instances of that category a fatal build error. Ultimately, <em>all</em> the warnings in the jdk repository were resolved and ...</p></div> darcy 2015-01-25T22:53:32ZAndrew Hughes: [SECURITY] IcedTea 2.5.4 for OpenJDK 7 Released!Andrew Hugheshttp://blog.fuseyism.com/?p=7872015-01-23T19:30:44Z2015-01-23T19:30:44Z <div xmlns="http://www.w3.org/1999/xhtml">The IcedTea project provides a harness to build the source code from OpenJDK using Free Software build tools, along with additional features such as the ability to build against system libraries and support for alternative virtual machines and architectures beyond those supported by OpenJDK. This release updates our OpenJDK 7 support in the 2.5.x series […]</div> gnu_andrew2015-01-23T19:30:44ZMarcus Hirt: Controlling the Adafruit PWM Driver from JavaMarcus Hirthttp://hirt.se/blog/?p=6252015-01-19T22:29:58Z2015-01-19T22:29:58Z <div xmlns="http://www.w3.org/1999/xhtml">This article will show how to control the Adafruit 16CH 12 bit PWM driver from a Raspberry PI using Java. First step is to configure your Raspberry PI for I2C. Next step is to set up PI4J. Next is to download the tiny little library for accessing the PWM driver I just made (and/or the […]</div> Marcus2015-01-19T22:29:58ZJoe Darcy: More concise try-with-resources statements in JDK 9Joe Darcyhttps://blogs.oracle.com/darcy/entry/concise_twr_jdk92015-01-15T02:00:27Z2015-01-15T02:00:27Z <div xmlns="http://www.w3.org/1999/xhtml"><p> As part of <a shape="rect" href="http://openjdk.java.net/jeps/213">milling Project Coin</a> in JDK 9, the <code>try</code>-with-resources statement has been improved. If you already have a resource as a <code>final</code> or effectively final variable, you can use that variable in the <code>try</code>-with-resources statement <em>without</em> declaring a new variable in the <code>try</code>-with-resources statement. </p></div> darcy 2015-01-15T02:00:27ZDavid Dice: Seen in St. JohnDavid Dicehttps://blogs.oracle.com/dave/entry/see_in_st_john2015-01-14T16:08:35Z2015-01-14T16:08:35Z <div xmlns="http://www.w3.org/1999/xhtml"><p>I originally mistook this as "Dave". </p></div> Dave 2015-01-14T16:08:35ZDavid Dice: Just back from DagstuhlDavid Dicehttps://blogs.oracle.com/dave/entry/just_back_from_dagstuhl2015-01-14T15:40:38Z2015-01-14T15:40:38Z <div xmlns="http://www.w3.org/1999/xhtml"><p><a shape="rect" href="http://www.dagstuhl.de/en/program/calendar/semhp/?semnr=15021">Concurrent Computing in the Many-core Era 2015</a> - <a shape="rect" href="http://www.dagstuhl.de/">Schloss Dagstuhl</a>.</p></div> Dave 2015-01-14T15:40:38ZJeroen Frijters: IKVM.NET 8.0 Release Candidate 1Jeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=a4d5b9da-024a-48b1-96bb-0c407838e9cb2015-01-12T14:11:00Z2015-01-12T14:11:00Z <div xmlns="http://www.w3.org/1999/xhtml"><p> The second release candidate is available. It can be downloaded here or from <a shape="rect" href="https://www.nuget.org/packages/IKVM/8.0.5449.1">NuGet</a>. </p></div> Jeroen2015-01-12T14:11:00ZJim Laskey: Using Nashorn with IntelliJJim Laskeyhttps://blogs.oracle.com/nashorn/entry/using_nashorn_with_intellij2015-01-09T13:02:53Z2015-01-09T13:02:53Z <div xmlns="http://www.w3.org/1999/xhtml"><p>Hi! </p></div> lagergren 2015-01-09T13:02:53Z