Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf ·...

49
1 Copyright © 2011-2013 Oracle and/or its affiliates. All rights reserved. Staffan Friberg Product Manager Java Platform Group Java Leaders Summit Java SE

Transcript of Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf ·...

Page 1: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

1 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Staffan Friberg

Product Manager Java Platform Group

Java Leaders Summit

Java SE

Page 2: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

2 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

The following is intended to outline our general product direction.

It is intended for information purposes only, and may not be

incorporated into any contract. It is not a commitment to deliver

any material, code, or functionality, and should not be relied upon

in making purchasing decisions. The development, release, and

timing of any features or functionality described for Oracle’s

products remains at the sole discretion of Oracle.

Page 3: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

3 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Introduction

• Product Manager in the Java Platform Group at Oracle

• Responsible for the JVMs – HotSpot and JRockit

• Background as performance lead for JRockit

Staffan Friberg

Page 4: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

4 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Agenda

• JDK 7 recap

• JDK 7 update releases

• JVM convergence update

• JDK 8

Page 5: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

5 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 7

Page 6: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

6 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 7 – Feature Recap

• GE Energy Uses InvokeDynamic to Bring Magik to the JVM – 2012-12-20 - http://www.infoq.com/news/2012/12/magik-jvm-port

• JAX 2012 - Invokedynamic: You ain't seen nothing yet – 2012-04-19 - http://www.slideshare.net/CharlesNutter/jax-2012-invoke-dynamic-keynote

• How invokedynamic just might save dynamic languages

on the JVM – 2011-08-02 - https://blog.engineyard.com/2011/how-invokedynamic-just-might-save-dynamic-

languages-on-the-jvm/

InvokeDynamic

Page 7: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

7 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 7 – Feature Recap

• Five ways to maximize Java NIO and NIO.2 – 2012-10-15 - http://www.javaworld.com/javaworld/jw-10-2012/121016-maximize-java-nio-and-nio2-

for-application-responsiveness.html

• New in Java 7: the NIO.2 API – 2012-04-04 - http://mrbool.com/new-in-java-7-the-nio-2-api/24028

• What's new in Java 7 - The (Quiet) NIO File Revolution – 2012-01-20 - http://codingjunkie.net/java7-file-revolution/

NIO.2

Page 8: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

8 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 7 – Feature Recap

• Simple introduction to Fork-Join Framework in Java 7 – 2012-06-12 - http://www.javabeat.net/2012/06/simple-introduction-to-fork-join-framework-in-java-7/

• An Introduction to the Fork / Join Framework – 2012-04-09 - http://java.dzone.com/articles/javas-fork-join-framework

• Java 7 Fork/Join Framework – 2012-07-30 - http://www.developer.com/java/java-7-forkjoin-framework.html

Fork-Join Framework

Page 9: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

9 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

• @SafeVarags, Diamond Operator, Multi-catch,

Improved Literals, Strings in Switch, Try-with-resources

• Java 7: Project Coin in code examples – 2012-01-09 - http://www.javacodegeeks.com/2012/01/java-7-project-coin-in-code-examples.html

• NetBeans 7 and Project Coin – 2012 -02- 27 - http://mrbool.com/netbeans-7-and-project-coin/23729

• Project Coin Rocks! – 2012-01-19 - https://blogs.oracle.com/darcy/entry/project_coin_rocks

JDK 7 – Feature Recap Project Coin

Page 10: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

10 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 7 – Feature Recap

• Security

– Native ECC, TLS 1.2

– ASLR, DEP

• Internationalization

– Unicode 6.0, IETF BCP47, UTR 35

Page 11: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

11 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 7

• On the JDK 7 Release notes – http://www.oracle.com/technetwork/java/javase/jdk7-relnotes-429209.html

• Where to find:

– Search JDK 7

– Choose the Java SE Downloads

– Release Notes

– Release notes for 1.7.0

Where to find the info…

Page 12: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

12 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 7 Releases

Release What’s new

7 Initial GA release

7u1 Security Fixes

7u2

Solaris 11 Firefox updates JavaFX 2.0.2 (Windows) Deployment updates

7u3 Security Fixes

7u4

Mac OS X 10.7 (JDK) G1 JavaFX 2.1 (Mac OS X) Update JAXP and Java DB

7u5 Security Fixes

Release (cont) What’s new

7u6

Mac OS X 10.7 (JRE) Linux ARM (JDK) JavaFX 2.2 (Linux) Access Bridge on JRE Alternative Hash

7u7 Security Alert – Security Fixes

7u8 N/A Number skipped to keep Sec Fixes Odd

7u9 Security Fixes

7u10

Mac OS X 10.8 Windows 8 Windows Server 2012 Security Enhancements

7u11 Security Alert – Security Fixes

Page 13: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

13 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

CPU Non CPU CPU Non CPU

7 GA 7u1 7u2 7u3 7u4 7u5

CPU

7u6

Non CPU

7u7 SecAlert

7u9 CPU

Every 4 months

Main release for security vulnerability fixes

Covers all families (7, 6, 5.0, 1.4.2)

CPU release update the security baseline which triggers auto-update

Dates published 12 months in advance

Based off the previous (non-CPU) release

Released simultaneously on java.com and OTN

Security Alerts are released as necessary

Rules for Java CPUs

Java Critical Patch Updates

Page 14: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

14 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

CPU

7 GA 7u1

Security Baseline

Non CPU

7u2

CPU

7u3

Non CPU

7u4 7u5

CPU

7u6

Non CPU 7u7

Sec Alert

CPU

7u9

Non CPU

7u10

JDK Releases Update schedule and Security Baseline

Page 15: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

15 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

7u10

• Option to centrally disable plugin

• Hard-coded best-before date

• User-configurable security levels

for accessing the JRE through a

browser

New security features

Page 16: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

16 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

7u14

• Linux ARM v6/v7 Hard-Float ABI

• Better Packing tool for Mac OS X App files

• Performance Optimizations

NumberFormat/DecimalFormat(double...)

• Updated Security Dialogs

• Commercial Feature:

– Java Mission Control (JMC) included on Oracle’s JDK

What to expect

Page 17: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

17 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JVM CONVERGENCE PROGRESS UPDATE

Page 18: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

18 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JVM Convergence Project JRockit Hotspot – Delivered

Feature Delivered on Comment

Performance JDK 7u4 Oracle JDK/HotSpot performance is on par or better

compared to JRockit and JDK 6 for most (>90%) of the

Oracle applications. Outages found will be treated as

bugs by the performance team.

Diagnostic Commands JDK 7u4 Diagnostic Commands back-end and most important

commands

JMX Agent

Improvements

JDK 7u4 Enable start/stop and port configuration to enable

firewall compatibility

Page 19: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

19 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JVM Convergence Project JRockit Hotspot – In progress

Feature Incremental

deliveries on Comment

Full Debug Symbols JDK 7u4, 7u6, 7u+ Faster debugging for Support and Sustaining

Engineering.

Java Flight Recorder

Java Mission Control

JDK 7u4, 7u+ Support for WLDF in 7u4. Will increase number of

events in later releases.

No PermGen JDK 8 Remove artificial memory limitation. Both a

convergence and a general HotSpot improvement.

Page 20: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

20 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JVM Convergence Project JRockit Hotspot – Planned

Feature Comment

Native Memory Tracking Track JVM internal allocation.

Remote Diagnostic Commands Allow remote execution of diagnostic commands and not just

via command line tool.

Java Discovery Protocol Detect remote Java processes running on the local network.

Compiler Control and Logging Allow better insight into what the compiler did with the code,

and enable SE/Support to avoid issues by removing

optimizations steps.

Page 21: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

21 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JVM Convergence Project JRockit Hotspot – Pending

Feature Comment

More Diagnostic Commands Extend commands to be on par with the general JRockit Diagnostic Commands. Commands for specific features will be managed as part of those features.

JRockit Memleak Needs a new communication protocol for better security, and how we can manage the multiple GC available in HotSpot.

Improved Verbose Logging A unified logging framework.

JRRT Replacement In discussion with GC team on available solutions

Page 22: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

22 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Java Mission Control

Page 23: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

23 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Java Mission Control

Page 24: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

24 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Java Mission Control

Page 25: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

25 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JAVA IN THE ENTERPRISE

Page 26: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

26 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Challenges for Java in the Enterprise More than 90% of all enterprises use Java

Older Java versions

continue to live on

Older (EoPU) releases

need security fixes

Incompatibility issues with

changes in IT environments

IT systems rapidly change,

providing loopholes for hackers

Page 27: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

27 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Enterprise-Grade Java SE Commercial Offerings Designed To Meet Enterprise Needs

Two leading VMs –

HotSpot & JRockit – in a

single package

Advanced profiling and

diagnostics tools for

production environments

Advanced JRE features for

low latency requirements

24x7 access to updates

for any supported Java

version family

Significantly lowered

security risk for older

(EoPU) releases

Enterprise usage tracking of

Java deployments. Simplified

control of Java updates

Page 28: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

28 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Java SE Commercial Products

Java SE Advanced

Java SE Support Java SE Suite

Java SE Platform enhanced with enterprise-grade features

for monitoring, manageability, and analytics.

Java SE Platform hardened for mission critical applications

having extreme and predictable performance needs.

Soft real-time deterministic garbage collector for mission critical

applications

Memory leak server for dynamic memory leak detection on

mission critical production systems

Oracle Premier Support for Java SE.

24x7 support, offered in 27 local languages

Security updates on older and current releases

Only source for Java SE 6 updates after Feb 2013

Monitor, manage, and profile Java applications without performance overhead

Leverage a “time-machine” for back-in-time root cause analysis and profiling

Enterprise JRE features i.e. usage tracking

Page 29: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

29 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

ROADMAP

Page 30: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

30 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Java SE Roadmap

2015 2012 2013 2014

7u6 • JRE on Mac complete

• JavaFX 2.2 integration

• Linux ARM V6/V7

• JavaFX on Mac

• JavaFX on Linux

JDK 8 • Lambda

• JVM Convergence

• JavaScript Interop

• JavaFX 8

– Public UI Control API

– Java SE Embedded support

– Enhanced HTML5 support

NetBeans IDE 7.2 • Support for JDK 7 on Mac

• Support for JavaFX on Mac

and Linux

Scene Builder 1.0 • Windows and Mac

Major Serviceability

improvements • Java Flight Recorder in JDK

• Native memory tracking

• Java Discovery Protocol

• App Stores Packaging tools

• Last Public Release of JDK 6

JDK 9 • Jigsaw

• Interoperability

• Optimizations

• Cloud

• Ease of Use

• JavaFX JSR

NetBeans IDE 7.3 • Scene Builder 1.1 support

Scene Builder 1.1 • Linux support

NetBeans IDE 8 • JDK 8 support

• Scene Builder 2.0 support

Scene Builder 2.0 • JavaFX 8 support

• Enhanced Java IDE support

NetBeans IDE 9 • JDK 9 support

• Scene Builder 3.0 support

Scene Builder 3.0 • JavaFX 9 support

7u10 • Java Client

Security

Enhancements

Page 31: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

31 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 8

Page 32: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

32 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 8

Java for Everyone • Profiles for constrained devices

• JSR 310 - Date & Time APIs

• Non-Gregorian calendars

• Unicode 6.2

• ResourceBundle.

• BCP47 locale matching

• Globalization & Accessibility

Innovation • Lambda aka Closures

• Language Interop

• Nashorn

Core Libraries • Parallel operations for core

collections APIs

• Improvements in functionality

• Improved type inference Security • Limited doPrivilege

• NSA Suite B algorithm support

• SNI Server Side support

• DSA updated to FIPS186-3

• AEAD JSSE CipherSuites

Tools • Compiler control & logging

• JSR 308 - Annotations on

Java Type

• Native app bundling

• App Store Bundling tools

Client • Deployment enhancements

• JavaFX 8

• Public UI Control API

• Java SE Embedded support

• Enhanced HTML5 support

• 3D shapes and attributes

• Printing

General Goodness • JVM enhancements

• No PermGen limitations

• Performance improvements

Page 33: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

33 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Page 34: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

34 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

for (Shape s : shapes) {

if (s.getColor() == BLUE) {

s.setColor(YELLOW);

}

}

Page 35: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

35 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

shapes.forEach(s -> {

if (s.getColor() == BLUE) {

s.setColor(YELLOW);

}

});

Page 36: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

36 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

interface Collection<T> {

default void forEach(Block<T> action) {

for (T t : this) {

action.apply(t);

}

}

}

Page 37: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

37 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

shapes.forEach(s -> {

if (s.getColor() == BLUE) {

s.setColor(YELLOW);

}

});

Page 38: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

38 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

shapes.filter(s -> s.getColor() == BLUE)

.forEach(s -> { s.setColor(YELLOW); });

Page 39: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

39 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

shapes.parallel().filter(s -> s.getColor() == BLUE)

.forEach(s -> { s.setColor(YELLOW); });

Page 40: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

40 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

COMPACT PROFILES

Page 41: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

41 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Page 42: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

42 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Page 43: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

43 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

NASHORN

Page 44: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

44 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Project

Nashorn

Page 45: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

45 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

JDK 8 News!

• Nashorn is now open source on OpenJDK – 2012-12-21 - http://openjdk.java.net/projects/nashorn

– 2012-12-21 - https://blogs.oracle.com/nashorn/entry/open_for_business

• First EA of JDK 8 for Linux ARM available on java.net

– Include JavaFX

– Works on Raspberry Pi – 2012-12-18 - http://jdk8.java.net/fxarmpreview/index.html

• Netbeans EA with support for Lambda has been released – 2012-12-14 - http://wiki.netbeans.org/JDK8

Page 46: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

46 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

Test Pilots Wanted

• Feature complete for JDK 8 in January of 2013 – Developer preview in February

– Schedule on http://openjdk.java.net/projects/jdk8

• JDK 8 builds with many features already available – Try out Lambda and check out JavaFX 8

– Early access on http://jdk8.java.net

• Jigsaw builds also available from Java.net

Java SE and JavaFX

Page 47: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

47 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

LOOKING FORWARD

Page 48: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

48 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.

To Java SE 9 and Beyond!

Jigsaw

Cloud

Ease of use Optimizations Generic Lang Interoperability

Penrose

OpenJFX

Project Sumatra – Java for GPUs

Ports: Power PC/AIX

Multi-Tenancy Support

Self Tuning JVM

Improved Integration with Native

Resource Management

Lang Enhancements

Unified Type System

Data Structure Optimizations

Page 49: Java Leaders Summit Java SE - HJUGstatic.hjug.org/.../2013-Java-Leaders-Summit-JavaSE.pdf · 2013-09-15 · JRockit Hotspot – Planned Feature Comment Native Memory Tracking Track

49 Copyright © 2011-2013 Oracle and/or its affiliates.

All rights reserved.