Speaking at JavaOne 2012–San Francisco

speaking_smallThis year I will only do one talk at Java One, and only  at the Java One in San Francisco (family is keeping me busy).

Here is some information about the session:

Wednesday, Oct 3
Time Room Title Abstract Type
13:00 -14:00 Hilton San Francisco – Plaza A/B Oracle JRockit Mission Control Is Dead: Long Live Java Mission Control!

Oracle Java Mission Control is the production time profiling and diagnostics tools suite originally created for the Oracle JRockit JVM. The convergence of Oracle’s HotSpot JVM and the Oracle JRockit JVM resulted in Oracle Java Mission Control’s support for HotSpot (only) from Release 5.0 and onward. This session is an introduction to what Oracle Java Mission Control is and how it can be used to profile Java applications in production systems with almost no overhead. The session also discusses how the HotSpot version of Oracle Java Mission Control differs from the JRockit version and shows some nice new experimental plug-ins available in the 5.0 release of Oracle Java Mission Control.

Conference Session Core Java Platform

Also, I think the following Mission Control session, with Misha Dmitriev and Johan Ringdahl, will be quite interesting:

Monday, Oct 1
Time Room Title Abstract Type
10:00 -11:00 Hilton San Francisco – Continental Ballroom 4 JOverflow: Advanced Heap Analysis in Java Mission Control

Large Java applications tend to be memory-hungry. Most profiling tools tell users which data structures consume memory but don’t tell whether that’s good or bad or how to improve the situation. JOverflow, a recent extension to Java Mission Control, analyzes a heap dump automatically, looking for known bad memory usage patterns. It detects empty and underused collections, duplicated strings, unused data fields, and several other issues. What’s more, for many of these problems, the tool can suggest a fix by analyzing application code together with the heap dump and thus save the developer hours of tedious and unrewarding work. Learn more in this session.

Conference Session Core Java Platform

Looking forward to seeing you there! Ler


Network Problems Using Java 7 and Cisco VPN?

Today I had a hard time getting my brand new Perforce plug-in working in my brand new Eclipse 4.2, from home over the Cisco VPN. After a while I realized that it was not only the Eclipse and Perforce plug-ins that had changed. I was also using a brand new JDK 7. I also realized that I had already encountered this problem before, when trying to use a brand new build of Java Mission Control 5 to hook up to a JVM at work:

  • The Cisco VPN seems to have some IPv6 related issue.
  • In JDK7 Java took the leap and started using IPv6 by default.
  • To revert to using IPv4 by default, set -Djava.net.preferIPv4Stack=true

For Eclipse, you can just add -Djava.net.preferIPv4Stack=true on a separate line in the eclipse.ini file, somewhere after –vmargs.