Awesome New Release (Hirt 3.0)

Okay, so the reason I’ve been quiet the last few weeks is due to the release of Hirt 3.0, also known as Simon Daniel Hirt. I’m including a screen shot for reference:

 IMG_4882

Simon was borne the 19th of June, 2011. He was 11 days early, 50 cm tall and 3680g heavy.

Since having a baby and a toddler at the same time has proven more difficult than anticipated, as anticipated, I’ll be on parental leave until mid September.  Winking smile

Note: A not-so-closely guarded secret is that I am working Mondays. If you need to reach me for work related stuff, just e-mail me at Oracle.

EclipseCon 2011

I sadly could not make it to EclipseCon last year. It was sad for so many reasons, not the least being that Sweden during that part of the year is cold and dark. 😉 This year, however, I will be contributing two talks:

—>

HotRockit – What to Expect from Oracle’s Converged JVM

Oracle is converging the HotSpot and JRockit JVMs to produce a "best of breed JVM". Internally the project is sometimes referred to as the HotRockit project. There is already a large influx of ideas and solutions provided by the JRockit JVM into the Open JDK.

Examples of improvements include:

  • Better monitoring and profiling
  • Improved performance
  • Better ergonomics

This talk will discuss what to expect from the converged JVM over the next two years, and how this will benefit the Eclipse community.

Production-time Problem Solving in Eclipse

This session will look at some common problems and pitfalls in Java applications. The focus will be on non-invasive profiling and diagnostics of running production systems. Problems tackled will be:

    • Excessive GC

    • Finding hotspots and optimizing them

    • Optimizing the choice of data structures

    • Synchronization problems

    • Finding out where exceptions are thrown

    • Finding memory leaks

      All problems will be demonstrated and solved running both the bad-behaving applications and the tools to analyze them from within the Eclipse Java IDE.

      <—

      I hope to meet you there!

      JRockit Related Presentations at JavaOne and OOW 2010

      Soon JavaOne, Oracle Develop and Oracle Open World will be here – this time at the same time and the same place! The huge conference(s) will take place in San Francisco September 19 – 23. This year JRockit will be represented in all three conferences. Here are two tables I’ve put together with all (AFAIK) JRockit related talks.

      The sessions where JRockit team members are directly involved are:

      Session ID Time Location Title Type Conference
      S317386 Mon 12:30 Marriot Marquis/Salon 9 Oracle’s Java Virtual Machine Strategy CS OOW
      S318576 Mon 13:00 Hilton San Francisco/Imperial Ballroom B Build Virtual Appliances: Oracle WebLogic Server/Oracle JRockit Virtual Edition HOL J1/OD
      S317458 Mon 13:00 Hotel Nikko/Nikko Ballroom II Next-Generation Diagnostics with Oracle JRockit Flight Recorder CS J1/OD
      S317468 Mon 16:00 Hotel Nikko/Peninsula Oracle JRockit: Advances in Java Virtual Machine Technology CS J1/OD
      S318579 Tue 13:00 Hilton San Francisco/Imperial Ballroom B JVM Analysis: Oracle JRockit Mission Control and Oracle JRockit Flight Recorder HOL J1/OD
      S313785 Wed 10:00 Parc 55/Cyril Magnin I Experience Talk: Understanding Adaptive Runtimes CS J1/OD

      I’m presenting at the following sessions: S317468, S318579 and S313785.

      Other sessions that seem to be JRockit related are:

      Session ID Time Location Title Type Conference
      S317471 Tue 8:00 Hotel Nikko/Nikko Ballroom II Application-Aware Virtualization CS J1/OD
      S317476 Tue 12:30 Marriott Marquis/Salon 9 Application Grid: Practices and Results from Real-World Enterprises CS OOW
      S318580 Tue 14:30 Hilton San Francisco/Imperial Ballroom B Total Oracle WebLogic Server Development with Eclipse, Maven, and Hudson HOL J1/OD
      S317406 Tue 15:30 Moscone West L3/Rm 3022 Increasing Performance and Reducing Costs with Oracle WebLogic Suite CS OOW

      Please let me know if I’ve missed any JRockit-related sessions!

      For more information, check the content catalog.

      OracleDevelopJavaOne  OOW

       

      HOL = Hands On Lab – you get hands on experience with the technology in front of a computer. Tutorials.
      CS = Conference Session – traditional conference talk.
      J1/OD = Java One/Oracle Develop
      OOW = Oracle Open World

      New Worst Day Record

      Some months ago I thought I’d hit a low in my life when my then 7 week old daughter had to undergo surgery for intestinal invagination. Well, this midsummer’s eve was even worse. Natalie had been sick for almost two days. We had called the hospital, which told us that the flu was at large among small kids in Stockholm right now, and that we had nothing to worry about. The second day she actually seemed to be better. She got to keep some food. Well, two hours after eating she started vomiting again. She didn’t even get to keep water, so we went straight for the hospital. At the hospital they gave her antibiotics and put her on IV since she was dehydrated. Sure enough – X-rays showed that the intestines were obstructed and we went by ambulance (again) to Karolinska (the hospital where the surgeons for infants are located).

      When we arrived at the hospital, she was fairly lucid but weak. They connected her to telemetry equipment monitoring her heart rate and oxygen levels and then we went for another round of X-rays. That’s when the scariest moment in my life so far happened. We were almost done with the X-rays when the Natalie’s oxygen saturation levels started to crash. The nurse standing next to Natalie got stressed out and yelled “Call the doctor. Call him now!”, while running for an oxygen bottle next to the entrance to the room. She started giving Natalie oxygen whilst rather incoherently discussing with one of the other nurses what emergency code to use on one of the handsets. During all this I was standing next to the X-ray machine, holding Natalie’s hand. My mind was racing to horrible conclusions and I was thinking “shit, ohpleaseohpleaseohplease, nononono, I really can’t loose her”. I glanced at Malin, and she looked just about as terrified as I felt. I watched the oxygen work it’s magic, and the saturation levels started to improve.

      They put a probe through her nose down her stomach, through which they sent contrast fluid. Then they took X-ray images every now and then to find out where the obstruction was. The diagnosis was Ileus, and they decided surgery was necessary. Once they opened her up, they couldn’t believe how bad it was. She had, after all, been fairly lucid during all this. They had to cut away 90cm of her small intestine.

      Now we’re at home again, and they expect her to make a full recovery, despite the heavy surgery. I’m just glad it is over, and I pray my lovely little daughter never have to go through something like this again. Ever.

      The JRockit Book is Now in Print!

      Yes. I know. It’s been in print for some days already, but I haven’t found time to write about it until now. The book is a good guide for JVM’s in general, and for JRockit in particular. If you’ve ever wondered how the innards of the Java Virtual Machine works, or how to use the JRockit Mission Control to hunt down problems in your Java applications, this book is for you.

      8068_Oracle JRockit The Definitive Guide_Cov

      The book is written for intermediate to advanced Java Developers.

      These are the chapters:

      1. Getting Started
      2. Adaptive Code Generation
      3. Adaptive Memory Management
      4. Threads and Synchronization
      5. Benchmarking and Tuning
      6. JRockit Mission Control
      7. The Management Console
      8. The Runtime Analyzer
      9. The Flight Recorder
      10. The Memory Leak Detector
      11. JRCMD
      12. Using the JRockit Management APIs
      13. JRockit Virtual Edition

        Appendix A: Bibliography
        Appendix B: Glossary
        Index

      The book is 588 pages long.
      For more information about the book, see the book page at Packt.

      Embarrassing Bug

      Writing the JRockit book has made me take trips down memory lane more than once. The last read through made me think of one of the more embarrassing bugs we’ve had in JRockit Mission Control. Since it’s too late to add content to the book – most of the chapters are already finalized, or in the process of being finalized -  I thought I’d just put it here on the blog. 🙂

      So, one of the more embarrassing bugs in Mission Control would be when an attibute was misspelt in the Management Console. An attribute ending with the word count lacked the letter ‘o‘. The bug report stated that the "customer was not amused".

      I couldn’t help being slightly amused though.

      JRockit R28/JRockit Mission Control 4.0 is out!

      The next major release of JRockit is finally out! Here are some highlights:

      • Includes the all new JRockit Flight Recorder – supersedes the old JRockit Runtime Analyser. The new flight recorder is inspired by the “black box” in airplanes. It uses a highly efficient recording engine and thread local buffers to capture data about the runtime and the application running in the JVM. It can be configured to always be on, so that whenever anything “interesting” happens, data can be dumped for some time back. Think of it as your own personal profiling time machine.
      • Automatic shortest path calculation in Memleak – no longer any need for running around in circles when trying to find your way back to a thread root from an instance.
      • Memleak can now show class loader related information and split graphs on a per class loader basis.
      • More easily configured JMX agent – default port for both RMI Registry and RMI Server can be configured, and is by default the same, allowing easier configuration of firewalls.
      • Up to 64 GB (was 4GB) compressed references.
      • Per thread allocation profiling in the Management Console.
      • Native Memory Tracking – it is now possible to track native memory allocations with very high resolution. The information can either be accessed using JRCMD, or the dedicated Native Memory Tracking experimental plug-in for the Management Console (alas only available for the upcoming 4.0.1 release).
      • JRockit can now produce heap dumps in HPROF format.
      • Cooperative suspension – JRockit is no longer using system signals for stopping threads, which could lead to hangs if signals were lost or blocked (for example bad NFS shares). Now threads check periodically to see if they are suspended.
      • VPAT/Section 508 compliant JRMC – greatly improved keyboard navigation and screen reader support.

      See New and Noteworthy for more information.

      JRockit Mission Control 4.0.0 can be downloaded from here:
      http://www.oracle.com/technology/software/products/jrockit/index.html

      There is even a book to go with JRMC 4.0.0/JRockit R28!  🙂http://www.packtpub.com/oracle-jrockit-the-definitive-guide/book/

      Laziness is the Mother of All Inventions

      I recently got tired of monitoring the weather for various locations to find a nice time and spot to fly my planes. Enter WindBot. WindBot sends me an e-mail whenever new opportunities are found:

      —–

      The WindBot@hirt.se has found changes to the available flying opportunities for you in Trollbäcken:
      
      New opportunities:
      ==================
      Friday 15:00 (2010-04-23) [wind 2.0m/s, precipitation 0.0mm, cloud cover 43.0%]
      Friday 22:00 (2010-04-23) [wind 2.0m/s, precipitation 0.0mm, cloud cover 100.0%]
      
      Lost opportunities:
      ===================
      
      Triggering condition was:
      MicroPlaneFlyCondition [wind speed <= 2.0, precipitation <= 1.0, 5 <= time <= 22]
      
      /WindBot v0.0.3
      

      —–

      Lovely! 🙂

      My Server and Folding@Home

      I’ve started running folding at home on all my computers, including the server and the PS3. Since my connection is a bit sluggish, it will probably not be that noticable anyway.  😉

      folding

      For more information, see http://folding.stanford.edu/. Donate a few cycles and be part of the world’s biggest super-computer! It’s all for a good cause!