Java
Agent Orchestration with LangChain4J
updated
They are chatting about Project Amber’s latest features related to Pattern Matching but also the String Template feature currently in draft. Through this discussion, you will also hear about some of the tools (ex. Preview Features) but also the challenges related to the design of new Java Language features.
For more episodes, check out https://inside.java/podcast or this YouTube playlist youtube.com/playlist?list=PLX8CzqL3ArzV_hXbRevwzrXSMcGNzhxiZ.
⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Project Amber ➱ openjdk.org/projects/amber
◦ JEP 430: String Templates (Preview) ➱ openjdk.org/jeps/430
◦ JEP 432: Record Patterns (2nd Preview) ➱ openjdk.org/jeps/432
◦ JEP 433: Pattern Matching for switch (4th Preview) ➱ openjdk.org/jeps/433
⎯⎯⎯⎯ More Information ⎯⎯⎯⎯
◦ Inside.Java - News and Views from the Oracle Java Team ➱ https://inside.java
◦ Dev.Java - The Destination for Java Developers ➱ https://dev.java
◦ OpenJDK ➱ openjdk.org
◦ Oracle Java ➱ oracle.com/java
Tags: #Java #OpenJDK #ProjectAmber #InsideJava
__Chapters:__
0:00 ➠ Intro
0:55 ➠ Structured Concurrency Debugging
APIs: docs.oracle.com/en/java/javase/19/docs/api/jdk.incubator.concurrent/jdk/incubator/concurrent/package-summary.html
1:39 ➠ Chaotic Concurrency 😋
Javadoc `Future`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/concurrent/Future.html
Javadoc `ForkJoinTask`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/concurrent/ForkJoinTask.html
Javadoc `ForkJoinPool`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/concurrent/ForkJoinPool.html
2:34 ➠ Hash, Set, and Map 🎾
Javadoc `newHashSet`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/HashSet.html#newHashSet(int)
Javadoc `newHashMap`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/util/HashMap.html#newHashMap(int)
3:11 ➠ GitHub Action
oracle-actions/setup-java: github.com/marketplace/actions/setup-java-development-kits-built-by-oracle
Blog post on the action: https://inside.java/2022/03/11/setup-java/
3:38 ➠ Compressing and Expanding
Javadoc `Vector::compress`: docs.oracle.com/en/java/javase/19/docs/api/jdk.incubator.vector/jdk/incubator/vector/Vector.html#compress(jdk.incubator.vector.VectorMask)
Javadoc `Vector::expand`: docs.oracle.com/en/java/javase/19/docs/api/jdk.incubator.vector/jdk/incubator/vector/Vector.html#expand(jdk.incubator.vector.VectorMask)
Javadoc `Integer::compress`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/Integer.html#compress(int,int)
Javadoc `Integer::expand`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/lang/Integer.html#expand(int,int)
PEXT: felixcloutier.com/x86/pext
5:05 ➠ Suppressing Javadoc Linting
Documentation: docs.oracle.com/en/java/javase/18/docs/specs/man/javadoc.html#suppressing-messages
5:22 ➠ String Deduplication
5:57 ➠ G1 Region Size
7:17 ➠ Security Performance
JDK-8275914: bugs.openjdk.org/browse/JDK-8275914
JDK-8286433: bugs.openjdk.org/browse/JDK-8286433
JDK-8284694: bugs.openjdk.org/browse/JDK-8284694
JDK-8285398: bugs.openjdk.org/browse/JDK-8285398
7:48 ➠ Custom Localized Date-Time Formats
Javadoc `ofLocalizedPattern`: docs.oracle.com/en/java/javase/19/docs/api/java.base/java/time/format/DateTimeFormatter.html#ofLocalizedPattern(java.lang.String)
8:30 ➠ Javadoc Search
Custom search in Firefox: superuser.com/a/7374
Custom search in Chrome: zapier.com/blog/add-search-engine-to-chrome
8:53 ➠ jarsigner Provider Path
9:05 ➠ Address Resolution SPI
JEP-418: openjdk.java.net/jeps/418
9:54 ➠ Metal Rendering
JEP-382: openjdk.org/jeps/382
10:22 ➠ JAAS without Security Manager
JDK-8267108: bugs.openjdk.java.net/browse/JDK-8267108
10:47 ➠ Named Record Patterns
JEP-405: openjdk.org/jeps/405
11:11 ➠ Simple Web Server
JEP-408: openjdk.org/jeps/408
Working with the server: https://inside.java/2021/12/06/working-with-the-simple-web-server/
11:30 ➠ Outro
Tags: #Java #JDK18 #JDK19 #OpenJDK #insidejava
Tags: #Java #OpenJDK #SipOfJava #InsideJava
Presented by Billy Korando - Oracle
⎯⎯ Chapters ⎯⎯
0:00 Intro
0:36 What is JDK Flight Recorder?
4:57 JFR Events
5:39 Running JFR
9:02 Analysing Recordings
10:52 Creating Custom Events
13:13 Using Custom Events
15:54 JFR Event Streaming
19:44 Filtering Events
22:48 Resources & Closing
⎯⎯⎯⎯⎯⎯⎯⎯
Make sure to check ➱ https://inside.java/
Tags: #Java #OpenJDK #JFR #JavaOne
Presented by Philip Race & Kevin Rushforth - Oracle
Make sure to check ➱ https://inside.java/
Tags: #Java #JavaFX #OpenJFX #UI #Desktop #userinterface
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
0:33 Introducing the Valhalla project
1:51 JEPs already delivered by Valhalla
2:45 Performance price of Object Oriented abstractions
6:26 Using value objects and primitive objects to improve performances
8:24 Introducing Value based classes and Primitive classes
9:12 Getting of identity to create value objects
12:41 Using values instead of references
13:59 Constraints on writing value based classes
14:53 Valued based types: classes, abstract classes, and interfaces
16:08 The special case of the Object class
18:27 JVM optimizations
18:52 Final words and outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Project Valhalla ➱ openjdk.org/projects/valhalla
◦ Project Valhalla mailing list ➱ mail.openjdk.org/mailman/listinfo/valhalla-dev
◦ Project Valhalla Early Access build ➱ jdk.java.net/valhalla
◦ Project Valhalla Early Access build notes ➱ openjdk.org/projects/valhalla/early-access
◦ Value Objects (Preview) ➱ openjdk.org/jeps/8277163
◦ Primitive Classes (Preview) ➱ openjdk.org/jeps/401
◦ Classes for the Basic Primitives (Preview) ➱ openjdk.org/jeps/402
◦ Universal Generics (Preview) ➱ openjdk.org/jeps/8261529
◦ Nest-Based Access Control ➱ openjdk.org/jeps/181
◦ Dynamic Class-File Constants ➱ openjdk.org/jeps/309
◦ JVM Constants API ➱ openjdk.org/jeps/334
◦ Hidden Classes ➱ openjdk.org/jeps/371
◦ Warnings for Value-Based Classes ➱ openjdk.org/jeps/390
◦ Records ➱ openjdk.org/jeps/395
◦ JEP Café on Records ➱ youtu.be/1oC9ESbyvqs
◦ Dev.java ➱ https://dev.java
◦ Inside.java ➱ https://inside.java
◦ JDK 19 ➱ openjdk.org/projects/jdk/19
◦ JDK 20 ➱ openjdk.org/projects/jdk/20
◦ OpenJDK ➱ openjdk.org
◦ Oracle Java ➱ oracle.com/java
Tags: #Java #Java17 #Java20 #OpenJDK #JDK #JDK17 #Records #ValueTypes #ValueObjects #Valhalla #JEPCafe #insidejava
⎯⎯⎯ Chapters ⎯⎯⎯
0:00 Introducing the JDK 20
1:00 Sequenced Collections
2:54 Pattern Matching
4:00 Loom
6:18 Valhalla and value objects
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯ Resources ⎯⎯⎯
JDK 20 EA builds ➱ jdk.java.net/20
Valhalla Project and LW4 Early Access release ➱ jdk.java.net/valhalla
JDK Release process ➱ openjdk.org/jeps/1
JEP 431: Sequenced Collections ➱ openjdk.org/jeps/431
JEP 269: Convenience Factory Methods for Collections ➱ openjdk.org/jeps/269
JEP 433: Pattern Matching for switch (Preview) ➱ openjdk.org/jeps/433
JEP 432: Record Patterns (Second Preview) ➱ openjdk.org/jeps/432
JEP 436: Virtual Threads (Second Preview) ➱ openjdk.org/jeps/436
JEP 437: Structured Concurrency (Second Incubator) ➱ openjdk.org/jeps/437
JEP 439: Scoped Values (Incubator) ➱ openjdk.org/jeps/439
JEP draft: Value Objects (Preview) ➱ openjdk.org/jeps/8277163
JEP 401: Primitive Classes (Preview) ➱ openjdk.org/jeps/401
Tags: #Java #OpenJDK #JDK20 #JVM #InsideJava #PatternMatching #Record #Loom #Valhalla
⎯⎯⎯ Chapters ⎯⎯⎯
0:00 Opening
0:23 Intro
0:49 ZGC History
2:46 Generational ZGC
4:07 Giving Feedback on ZGC
6:53 Outro
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
⎯⎯ Resources ⎯⎯⎯
Generational ZGC EA builds ➱ jdk.java.net/genzgc
JDK 20 EA builds ➱ jdk.java.net/20
Leave feedback ➱ mail.openjdk.org/pipermail/zgc-dev
ZGC ➱ openjdk.org/jeps/377
Generational ZGC draft JEP ➱ openjdk.org/jeps/8272979
“Towards Generational ZGC!” podcast ➱ https://inside.java/2022/06/29/podcast-024/
Tags: #Java #OpenJDK #ZGC #GarbageCollector #GC #JVM #InsideJava
Tags: #Java #OpenJDK #SipOfJava #InsideJava
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
0:48 Introducing Pattern Matching and the Project Amber
1:26 Pattern Matching for Intanceof
3:33 Generics, Lambdas and Pattern Matching
6:05 Defining the elements of a Pattern
7:34 Using the binding variable of a Pattern
9:02 Pattern Matching for Switch
10:38 Switching on a Sealed Type
10:56 Handling null values in switches
11:12 Using when to add boolean expressions to case labels
12:06 Introducing Records and Record Patterns
13:31 Using a Record Pattern in Instanceof
14:47 Using a Record Pattern in Switch Case label
15:15 Nesting Record Patterns
16:12 Record Patterns and Enhanced For Statements
18:14 Wrapping Up patterns and where to use them
19:24 Final words and outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Project Amber ➱ openjdk.org/projects/amber
◦ Text Blocks ➱ openjdk.org/jeps/378
◦ Switch Expressions ➱ openjdk.org/jeps/361
◦ Records ➱ openjdk.org/jeps/395
◦ Sealed Types ➱ openjdk.org/jeps/309
◦ Pattern Matching for Instanceof ➱ openjdk.org/jeps/394
◦ JEP Café on Records ➱ youtu.be/1oC9ESbyvqs
◦ Dev.java ➱ https://dev.java
◦ Inside.java ➱ https://inside.java
◦ JDK 19 ➱ openjdk.org/projects/jdk/19
◦ JDK 20 ➱ openjdk.org/projects/jdk/20
◦ OpenJDK ➱ openjdk.org
◦ Oracle Java ➱ oracle.com/java
Tags: #Java #Java17 #Java20 #OpenJDK #JDK #JDK17 #Records #PatternMatching #ConcurrentProgramming #JEPCafe #insidejava
Tags: #Java #OpenJDK #SipOfJava #InsideJava
~~~ Chapters ~~~
0:00 Teasers
0:18 Intros
0:47 JavaFX 20 EA Builds
1:48 GraalVM Comes To OpenJDK
3:12 Java SE Subscription Enterprise Performance Pack
4:18 Generational ZGC
5:14 JavaOne
6:21 Outro
~~~ ~~~~~ ~~~
Tags: #Java #OpenJDK #GraalVM #Performance #insidejava
Recorded during JavaOne 2022 (Las Vegas).
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
00:00 The Future of Java is You
Ana-Maria Mihalceanu (Senior Java Developer Advocate), Nicolai Parlog (Senior Java Developer Advocate)
01:55 Move Java Forward... Together
Sharat Chander (Mr. Java Community)
10:13 Be Part of the Community
Elder Moraes (SouJUG), Mala Gupta (Co-Leader of Women Who Code Delhi and Delhi & NCR JUG), Mohammed Aboullaite (Arab JUG Co-organizer), Brian Vermeer (VJug & NLJug)
18:08 Java in Education
Heather Stephens (Head of Java in Education)
26:54 JavaFX
Kevin Rushforth (JavaFX Project Lead)
30:08 Move the Next Generation
José Paumard (JEP Café), Venkat Subramaniam (Java Champion), Bruno Souza (SouJava), Heather VanCura (JCP)
42:58 Read, Write, Share
Jeanne Boyarsky (Author), Maurice Naftalin (Author), Alan Zeichick (Java Magazine)
49:36 Contribute Your Speciality
Richard Wang (Could & AI/ML Veteran, NVIDIA)
53:44 How to Contribute
Tags: #Java #Community #JavaOne
Technical Keynote recorded during JavaOne 2022 (Las Vegas).
Tags: #Java #Oracle #javaone
___Chapters___
0:00 Intro
1:40 Julia Liuson, President Developer Division and GitHub, Microsoft
20:00 Chad Arimura, Intro
24:15 Gavin Bierman, Project Amber Update
32:00 Mikael Vidstedt, ZGC Update
40:18 Sean Mullan, Platform Security Update
49:00 Ron Pressler, Tomas Langer, Project Loom Update & Demo
56:40 Denys Makogon, F1 Simulator Video from Ukraine
58:06 Close
Recorded at JavaOne 2022 (Las Vegas).
Tags: #Java #JavaOne #Oracle
➤ JEP 428 - Structured Concurrency (Incubator): Improve the maintainability, reliability, and observability of your multithreaded code.
➤ JEP 405 - Record Patterns (Preview): Discover how to extend pattern matching to express more sophisticated, composable data queries.
➤ JEP 424 - Foreign Function and Memory API (Preview): Enable interoperability with code and data outside the Java runtime.
➤ JEP 425 - Virtual Threads (Preview): Reduce the effort of writing, maintaining, and observing high-throughput, concurrent applications.
➤ JEP 427 - Pattern Matching for Switch (Third Preview): Expand the expressiveness and applicability of switch expressions and statements by allowing patterns to appear in case labels.
➤ JEP 426 - Vector API (Fourth Incubator): Express vector computations that reliably compile at runtime to optimal vector instructions on supported CPU architectures, thus achieving performance superior to equivalent scalar computations.
➤ JEP 422 - Linux/RISC-V Support: With the increasing availability of RISC-V hardware, access the JDK to Linux/RISC-V to expand your hardware reach.
An Oracle Developer Live - Java Innovation session with Aurelio García-Ribeyro (Senior Director, Product Management for Java SE, Oracle).
⎯⎯⎯⎯⎯⎯ More information ⎯⎯⎯⎯⎯⎯
Oracle Java ➠ oracle.com/java
OpenJDK ➠ openjdk.org
JavaOne ➠ oracle.com/javaone
Inside Java ➠ https://inside.java
Dev Java ➠ https://dev.java
Tags: #Java #OpenJDK #Oracle #InsideJava #JavaOne #DevLive
Design document: openjdk.org/projects/amber/design-notes/on-ramp
Mail to amber-dev: mail.openjdk.org/pipermail/amber-spec-observers/2022-September/003715.html
amber-dev: mail.openjdk.org/mailman/listinfo/amber-spec-observers
___Chapters___
0:00 Teaser
0:11 Intro
0:56 Target Audience
1:40 Concept Overload
2:47 A More Tolerant Launch Protocol
4:39 What Is This?
5:19 Outro
Tags: #Java #OpenJDK #insidejava
Tags: #Java #OpenJDK #SipOfJava #InsideJava
__ Chapters __
0:00 First Take
0:19 Intro
1:02 Project Loom Recap
4:16 Tooling
JDK Mission Control: bugs.openjdk.org/browse/JMC-6679?attachmentViewMode=gallery
IntelliJ: youtrack.jetbrains.com/issue/IDEA-301409/Support-virtual-threads-project-loom
VS Code: github.com/microsoft/vscode-java-debug/issues/1159
Eclipse: github.com/eclipse-jdt/eclipse.jdt.debug/issues/38
Graal: github.com/oracle/graal/pull/4802/files
5:56 Web Servers
Jetty: github.com/eclipse/jetty.project/releases
Netty: github.com/netty/netty/issues/8439
Tomcat: tomcat.apache.org/tomcat-10.1-doc/changelog.html
Piranha Cloud: github.com/piranhacloud/piranha/pull/2635
6:33 Frameworks
Spring: github.com/spring-projects/spring-framework/issues/23443
Helidon: github.com/helidon-io/helidon/releases/tag/2.2.0
Helidon Nima: helidon.io/nima
Micronaut: github.com/micronaut-projects/micronaut-core/issues/7724
Quarkus: github.com/quarkusio/quarkus/pull/24942
Quarkus mail to OpenJDK: mail.openjdk.org/pipermail/loom-dev/2022-July/004844.html
Vert.x: vertx.io/blog/vertx-virtual-threads-incubator
Vert.x Incubator: github.com/vert-x3/vertx-virtual-threads-incubator
Javalin: javalin.io/news/javalin-4-development-updates
8:15 Outro
Tags: #Java #Java19 #OpenJDK #InsideJava #ProjectLoom
Panelists:
‾‾‾‾‾‾‾‾‾‾‾‾‾
➤ Georges Saab
Senior Vice President, Java Platform Group, Oracle
Chair, OpenJDK Governing Board
➤ Chad Arimura
Vice President, Java Developer Relations, Oracle
➤ Aurelio García-Ribeyro
Senior Director, Product Management for Java SE, Oracle
➤ Sharat Chander
Senior Director, Java Product Management & Developer Engagement, Oracle
⎯⎯⎯⎯⎯⎯ More information ⎯⎯⎯⎯⎯⎯
Oracle Java ➠ oracle.com/java
OpenJDK ➠ openjdk.org
JavaOne ➠ oracle.com/javaone
Inside Java ➠ https://inside.java
Dev Java ➠ https://dev.java
Tags: #Java #OpenJDK #Oracle #InsideJava #JavaOne #DevLive
In this conversation he previews his upcoming session at JavaOne — Streamlining Large-Scale Java Development Using Error Prone. He also talks about the Java community and his experiences becoming a developer.
JavaOne News & Updates ➱ https://inside.java/javaone/
Host: Jim Grisanzio (twitter.com/jimgris) - Oracle
Guest: Sander Mak (twitter.com/Sander_Mak) - PicNic
⎯⎯⎯⎯⎯⎯ More information ⎯⎯⎯⎯⎯⎯
Oracle Java ➠ oracle.com/java
OpenJDK ➠ openjdk.org
JavaOne ➠ oracle.com/javaone
Inside Java ➠ https://inside.java
Dev Java ➠ https://dev.java
Tags: #Java #OpenJDK #Oracle #InsideJava #JavaOne
The code on GitHub: github.com/nipafx/loom-lab#github-crawler
__ Chapters __
0:00 ➠ Highlights
0:21 ➠ Intro
1:04 ➠ Meet The Crawler And Warm Up With Records
IJN #32 on string templates: youtube.com/watch?v=HiHgAh7wWPc
JEP Cafe #11 on virtual threads: youtube.com/watch?v=lKSSBvRDmTg
4:12 ➠ Virtual Threads - Blocking HTTP Client?
7:19 ➠ Virtual Threads - "Interception by Project Amber!"
JEP Cafe #13 on structured concurrency: youtube.com/watch?v=2nOj8MKHvmw
9:02 ➠ Structured Concurrency - StructuredTaskScope
13:05 ➠ Structured Concurrency - Concurrent Data Structures
16:13 ➠ Structured Concurrency - Records With Collections
20:48 ➠ Structured Concurrency - Debugging Glory
25:13 ➠ DOP - Type Hierarchies
IJN #29 on DOP: youtube.com/watch?v=5qYJYGvVLg8
27:32 ➠ DOP - Type Pattern Switches FTW
31:23 ➠ DOP - Deconstruction Patterns
IJN #26 on deconstruction patterns: youtube.com/watch?v=YM0CFX3Ap_g
32:24 ➠ DOP - Isn't `instanceof` Bad?
27:19 ➠ Outro
Tags: #Java #Java19 #OpenJDK #InsideJava
Presented by Aurelio García-Ribeyro - Senior Director of Product Management - Java Platform Group
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ Dev.java ➱ https://dev.java/
◦ Inside.java ➱ https://dev.java/
◦ Oracle Java ➱ oracle.com/java
Tags: #Java #JDK #Oracle
____ Chapters ____
0:00 ➠ Highlights
0:12 ➠ Intro
Inside Java Newscast #31: youtube.com/watch?v=xBBuShS0ERs
1:07 ➠ String Templates
"String Template Pondering": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1409
Inside Java Newscast #30: youtube.com/watch?v=ZaGnGs9TeNc
2:57 ➠ Deserialization Filter
JEP 290: Filter Incoming Serialization Data: openjdk.org/jeps/290
JEP 415: Context-Specific Deserialization Filters: openjdk.org/jeps/415
Java Secure Coding Guidelines: oracle.com/java/technologies/javase/seccodeguide.html
"Java Security Q&A": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2632
"Deserialization Exploits in Java: Why Should I Care?": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1403
"Secure Coding Guidelines for Java SE": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1433
"Evolving the Security of the Java Platform": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1434
"Security Vulnerabilities for Java Developers": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3707
4:46 ➠ Performance
"ZGC: The Future of Low-Latency Garbage Collection Is Here": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1412
"ZGC - Concurrent Stack Processing, Today and Tomorrow": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2621
"G1: Yesterday, Today, and Tomorrow": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1414
"Data Parallel Programming in Java Using the Vector API": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1427
"Java Performance Benchmarking": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2591
"Programmer's Guide to JDK Flight Recorder": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1432
"To Production and Beyond: Metrics with Micrometer": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3692
5:06 ➠ Derived Bindings in JavaFX 19
"JavaFX 19 and Beyond": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2615
"Building and Deploying Java Client Desktop Applications with JDK 17 and Beyond": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1413
"Say the Words: Modern Java with JavaFX for Rich Client UIs": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1397
"jpackage: Packaging Tool for Java Applications": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1420
"Project Lanai - New graphics pipeline for macOS": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2619
6:34 ➠ Cloud
"Live Coding Microservices from IDE to Cloud with GraalVM and Micronaut": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2611
"Modern Java App Development in the Cloud: MicroProfile, Quarkus, and Serverless": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3698
"Delightful integration tests with Testcontainers": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3700
"Secrets of Performance Tuning Java on Kubernetes": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3691
"Java in Containers": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1428
7:25 ➠ Outro
Tags: #Java #JavaOne #OpenJDK #InsideJava
Tags: #shorts #Java #OpenJDK #SipOfJava #InsideJava
Tags: #Java #Shorts #I18N #Internationalization
____ Chapters ____
0:00 ➠ Highlights
0:15 ➠ Intro
1:31 ➠ Collections - Sequenced, Immutable, Unmodifiable
"Sequenced Collections": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1422
"Return to Planet Collections": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3829
"Is Change Inevitable?": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3837
3:56 ➠ Pure Functions
"Functional Programming Idioms in Java": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1396
"The Sincerest Form of Flattery": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1426
"Data-Oriented Programming with Records, Sealed Classes, Text Blocks, and More": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1410
Inside Java Newscast #29: youtube.com/watch?v=5qYJYGvVLg8
5:31 ➠ Project Loom
"Project Loom: Performance Review": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1423
"Project Loom: Modern Scalable Concurrency for the Java Platform": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1424
"Reactive Streams or Virtual Threads: Writing Asynchronous Java DB Access": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2581
"Java + Project Loom = Synchronous Performance": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2597
"Loom is Blooming": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=2630
"Project Loom Hands-on Lab": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3733
"Implementing Raft protocol with project Loom": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3825
6:31 ➠ Much More!
"Twelve Tips for Writing More Readable Java Code": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1398
"The Wonderful World of Bio-Inspired Computing": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=3828
"Improving Your Build Without Touching Your Buildfile": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1399
"Make Your Java Apps See and Learn": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1391
"Generate Some Code for Great Good": reg.rf.oracle.com/flow/oracle/cloudworld/session-catalog/page/catalog?search=1395
7:16 ➠ Outro
Tags: #Java #JavaOne #OpenJDK #InsideJava
Tags: #Shorts #Java #Developer
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
1:42 Two things about Virtual Threads
2:55 Writing asynchronous code
4:14 Moving asynchronous code to Virtual Threads
5:22 Introducing Loom Scopes
6:35 Live demo: a first StructuredTaskScope
9:13 Differences between Scopes and Executors
11:02 Introducing the ShutdownOnSuccess Scope
11:49 Live demo: using ShutdownOnSuccess
16:40 Exception handling
17:06 Creating a custom Scope in action
25:45 Tips to write unit tests
26:34 Live demo: handling different object types
33:10 Live demo: adding a timeout on your Scope
34:35 Using ExtentLocal instead of ThreadLocal
35:24 Live demo: using ExtentLocal in a single thread
37:04 Live demo: using ExtentLocal with scopes
39:17 Scope wrap up
40:31 Final words and outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ JEP Café on Virtual Threads ➱ youtu.be/UVoGE0GZZPI
◦ Inside Java Newscast on Loom ➱ youtu.be/UG9nViGZCEw and youtu.be/KuHhUDhIFYs
◦ Dev.java ➱ https://dev.java/
◦ JEP 425: Virtual Threads (Preview) ➱ openjdk.java.net/jeps/425
◦ JEP 428: Structured Concurrency (Incubator) ➱ openjdk.java.net/jeps/428
◦ JDK 18 ➱ openjdk.java.net/projects/jdk/18
◦ JDK 19 ➱ openjdk.java.net/projects/jdk/19
◦ OpenJDK ➱ openjdk.java.net
◦ Oracle Java ➱ oracle.com/java
◦ JavaOne ➱ oracle.com/javaone
Tags: #Java #ConcurrentProgramming #Loom #Java19 #OpenJDK #JDK #JDK19 #VirtualThreads #ConcurrentProgramming #JEPCafe #InsideJava
Tags: #Java #Short #SipOfJava #GC
____ Chapters ____
0:00 ➠ Intro
0:43 ➠ State of Project Leyden
Question: reddit.com/r/java/comments/w0zgw1/comment/ighkpwl
Beginnings: mail.openjdk.org/pipermail/leyden-dev/2022-May/000001.html
1:48 ➠ State of Project Lilliput
Question: reddit.com/r/java/comments/w0zgw1/comment/igjnvl0
Inside Java Newscast #25: youtube.com/watch?v=KuHhUDhIFYs&t=482s
Milestone 1: mail.openjdk.org/pipermail/lilliput-dev/2022-May/000457.html
2:37 ➠ State of Project Valhalla
Question: reddit.com/r/java/comments/w0zgw1/comment/ighp4s9
JEP draft Value Types: openjdk.org/jeps/8277163
JEP 401: Primitive Classes: openjdk.org/jeps/401
JEP 402: Classes for the Basic Primitives: openjdk.org/jeps/402
JEP draft Universal Generics: openjdk.org/jeps/8261529
3:29 ➠ Value/primitive types in pattern matching
Question: youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ/community?lc=UgwKENVgWsk7It9LRA54AaABAg&lb=UgkxJbZMrjNn2nyIc6kr2SCgmZvcx9sf1ANm
4:01 ➠ Value/primitive types vs records
Question: reddit.com/r/java/comments/w0zgw1/comment/ignl15f
4:50 ➠ Operator overloading on value/primitive types
Question: youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ/community?lc=UgwLIbJy6E9slrGa9ht4AaABAg&lb=UgkxJbZMrjNn2nyIc6kr2SCgmZvcx9sf1ANm
Brian Goetz' answer: youtube.com/watch?v=jDU-JALUDd0&t=1435s
5:54 ➠ Record "withers"
Question: youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ/community?lc=UgzTypBwCb2WABU1OdN4AaABAg&lb=UgkxJbZMrjNn2nyIc6kr2SCgmZvcx9sf1ANm
Functional Transformation of Immutable Objects: github.com/openjdk/amber-docs/blob/master/eg-drafts/reconstruction-records-and-classes.md
7:52 ➠ String Interpolation
Question: youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ/community?lc=UgzWEIXNfbVObToBXKp4AaABAg&lb=UgkxJbZMrjNn2nyIc6kr2SCgmZvcx9sf1ANm
JEP draft String Templates: openjdk.java.net/jeps/8273943
JavaOne: oracle.com/javaone
8:32 ➠ Backslash and policies in string templating
Question: twitter.com/a_boiarshinov/status/1548561533004763137
10:23 ➠ Performance optimization for switching over sealed types
Question: youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ/community?lc=Ugy5e5zmQD_QoTzbW5B4AaABAg&lb=UgkxJbZMrjNn2nyIc6kr2SCgmZvcx9sf1ANm
12:08 ➠ Structural union types
Question: reddit.com/r/java/comments/w0zgw1/comment/igijtkp
13:46 ➠ Optional `new`
Question: reddit.com/r/java/comments/w0zgw1/comment/igm41mw
13:55 ➠ New web framework
Question: reddit.com/r/java/comments/w0zgw1/comment/igjnvl0
14:15 ➠ Reified generics
Question: youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ/community?lc=UgwE2dDOz6nL9Eae2kZ4AaABAg&lb=UgkxJbZMrjNn2nyIc6kr2SCgmZvcx9sf1ANm
14:25 ➠ New frontend
Question: youtube.com/channel/UCmRtPmgnQ04CMUpSUqPfhxQ/community?lc=UgyQ3ko-dQjAjfunaMF4AaABAg&lb=UgkxJbZMrjNn2nyIc6kr2SCgmZvcx9sf1ANm
14:50 ➠ Immutability by default
Question: reddit.com/r/java/comments/w0zgw1/comment/igio0le
15:58 ➠ Null safety
Question: reddit.com/r/java/comments/w0zgw1/comment/igio0le
JSpecify: https://jspecify.dev/
16:20 ➠ Jobs
Tweet: twitter.com/kamala_kanta/status/1549090910830723073
Jobs: https://inside.java/jobs
16:44 ➠ Fun & Outro
Tags: #Java #OpenJDK #InsideJava
Learn more about JavaOne ➠ https://inside.java/javaone
Tags: #Java #JavaOne #Oracle #CloudWorld
Data-oriented programming focuses on modeling data as data (instead of as objects). Records for data and sealed types for alternatives let us model immutable data where illegal states are unrepresentable. Combined with pattern matching we get a safe, powerful, and maintainable approach to ad-hoc polymorphism that lets us define operations on the data without overloading it with functionality.
____ Chapters ____
0:00 ➠ Teaser
0:14 ➠ Intro
"Data Oriented Programming in Java": https://web.archive.org/web/20220715013852/https://www.infoq.com/articles/data-o...
0:59 ➠ Data-Oriented Programming - Principles
2:53 ➠ Data-Oriented Programming - In Practice I
4:22 ➠ Data-Oriented Programming - In Practice II
5:14 ➠ Data-Oriented Programming - In Practice III
Inside Java Newscast #8 on visitor pattern: https://web.archive.org/web/20220715013852/https://www.youtube.com/watch?v=anQq-...
"Visitor Pattern Considered Pointless": https://web.archive.org/web/20220715013852/https://nipafx.dev/java-visitor-patte...
6:47 ➠ Data-Oriented Programming - Versus OOP
8:09 ➠ Outro
Tags: #Java #OpenJDK #DOP #InsideJava
A safepoint is a global JVM state where the Java world is stopped. It is therefore safe, as in exclusive access, to inspect and process by the JVM. This concept is central to many runtimes providing some form of Automatic Memory Management.
Markus Grönlund (twitter.com/marchaos) from Oracle's Java Platform Group presents, in this HotSpot Deep Dive video, how safepoints are implemented in the HotSpot Java Virtual Machine (JVM). He also introduces some related JVM concepts and structures.
⎯⎯⎯⎯⎯⎯ Errata ⎯⎯⎯⎯⎯
19:38 The description of how the VMThread removes edges in the state machine by arming the poll pages for threads is missing the directed edge [blocked_transition, VM]. In the graph, it is represented as an undirected edge, which made the cut challenging to depict accurately.
26:48 The assembly listing for the callee method getSuccessor(I, I) is taken from a research branch and does not accurately reflect the code residing in mainline. The mainline code looks like this:
mov dword ptr [rsp-9000h],eax
push rbp // frame push
sub rsp,30h
add edx,r8d // add first and second parameter
mov rax,rdx // return value
add rsp,30h
pop rbp // frame pop
cmp rsp,qword ptr [r15+128h] // poll word test
ja 00000237`c8cccc7c
ret
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
More information ➱ openjdk.org
More content from Markus ➱ https://inside.java/u/MarkusGronlund/
Tags: #Java #OpenJDK #HotSpot #JVM
Live demo of the Java virtual threads from the JDK 19, previewing the Loom project.
⎯⎯⎯⎯⎯⎯ Chapters ⎯⎯⎯⎯⎯⎯
0:00 Intro
0:56 Reactive code versus blocking code
1:53 Creating and running platform and virtual threads with Loom
3:22 Introducing the VirtualThread class
3:55 Threads used by the JVM
4:06 Using a fork / join pool to run virtual threads
6:43 Making a virtual thread jump from one platform thread to another
7:59 Introducing continuations
9:04 Yielding a continuation
10:42 What is the price of blocking a virtual thread?
11:55 How many platform threads do you need to run your virtual threads?
13:34 Running 10 million virtual threads
14:25 When a virtual is pinned to a platform thread
15:38 Comparing classical synchronization and reentrant locks
18:13 Final words and outro
⎯⎯⎯⎯⎯⎯ Resources ⎯⎯⎯⎯⎯⎯
◦ The Dev.java website ➱ https://dev.java/
◦ JEP 425: Virtual Threads (Preview) ➱ openjdk.org/jeps/425
◦ JDK 19 ➱ openjdk.org/projects/jdk/19
◦ OpenJDK ➱ openjdk.org
◦ Oracle Java ➱ oracle.com/java
Tags: #Java #Java19 #Loom #VirtualThreads #OpenJDK #JDK #JDK19 #ConcurrentProgramming #InsideJava
What's "OpenJDK" (or "the OpenJDK"?), how does it work, and what does it do? Here's the answer to these questions as well as explorations of JDK Enhancement Proposals, the Java Community Process, why there are so many JDK providers, and how long-term support works.
____ Chapters ____
0:00 ➠ Teaser
0:12 ➠ Intro
OpenJDK: openjdk.org
0:41 ➠ OpenJDK
1:06 ➠ OpenJDK - Place For A Community
Bylaws: openjdk.org/bylaws
Census: openjdk.org/census
3:01 ➠ OpenJDK - The JDK Project
OpenJDK on GitHub: github.com/openjdk
JDK Project on GitHub: github.com/openjdk/jdk
4:14 ➠ OpenJDK - JDK Enhancement Proposals
JEP definition: openjdk.org/jeps/1
4:59 ➠ OpenJDK - That's it?!
5:37 ➠ NOT OpenJDK - Java Community Process
Java 18 reference implementation: jdk.java.net/java-se-ri/18
Oracle OpenJDK 18 build: jdk.java.net/18
7:14 ➠ NOT OpenJDK - Binaries, Distributions, Vendors
9:00 ➠ NOT OpenJDK - Long-Term Support
10:52 Outro
Tags: #OpenJDK #InsideJava
Java 19 is the first release to preview Project Loom's virtual threads and structured concurrency, Project Amber's record patterns, and Project Panama's foreign memory and function APIs. It also continues previews of pattern matching in switch and vector API. Put together, this makes it the most groundbreaking Java release in years and probably for years to come!
____ Chapters ____
0:00 ➠ Intro
JDK 19: jdk.java.net/19
0:50 ➠ Pattern Matching in Switch
JEP 361: openjdk.java.net/jeps/361
JEP 394: openjdk.java.net/jeps/394
JEP 409: openjdk.java.net/jeps/409
JEP 427: openjdk.java.net/jeps/427
Inside Java Newscast #24: youtube.com/watch?v=ENX5kHblFlY
2:03 ➠ Record Patterns
JEP 405: openjdk.java.net/jeps/405
Inside Java Newscast #26: youtube.com/watch?v=YM0CFX3Ap_g
3:26 ➠ Foreign Function & Memory API
JEP 424: openjdk.java.net/jeps/424
[jextract]: github.com/openjdk/jextract
4:51 ➠ Virtual Threads
JEP 425: openjdk.java.net/jeps/425
JEP Cafe #11: youtube.com/watch?v=lKSSBvRDmTg
Inside Java Newscast #23: youtube.com/watch?v=6dpHdo-UnCg
Inside Java Newscast #25: youtube.com/watch?v=KuHhUDhIFYs
6:06 ➠ Structured Concurrency
JEP 428: openjdk.java.net/jeps/428
7:37 ➠ Vector API
JEP 426: openjdk.java.net/jeps/426
"The Vector API in JDK 17": youtube.com/watch?v=1JeoNr6-pZw
10:27 ➠ Outro
Tags: #Java #Java19 #JDK19 #OpenJDK #InsideJava


