• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Loom
  4. Main

Main

  • Created by Iris Clark, last modified by Ron Pressler on Aug 03, 2018

Loom

 Fibers, Continuations and Tail-Calls

Welcome to the Loom Project!

The goal of this Project is to explore and incubate Java VM features and APIs built on top of them for the implementation of lightweight user-mode threads (fibers), delimited continuations, and related features, such as explicit tail-calls.

This OpenJDK project is sponsored by the HotSpot Group.

 

Source Code

http://hg.openjdk.java.net/loom/loom/

Talks

JVMLS 2018 – Video

JFokus 2018 – Video

Mailing List

Subscribe | Archive

Project

Proposal | JEP | Members | Page

 

 

Note

Loom is under active development, which means that information and advice given here might change in the future.

 

Supported Platforms

 

Mac and Linux on x86-64

Download and Build from Source

 

$ hg clone http://hg.openjdk.java.net/loom/loom  
$ cd loom  
$ hg update -r fibers 
$ sh configure   
$ make images

(Note that you must switch to the fibers branch before building)

Missing Features

  • JVM TI support (fiber debugging)
  • Forced preemption
  • Serialization of fiber/continuation

     

Continuations

Design

Implementation

Performance

Fibers

Design

Implementation

Fibers are implemented in the core libraries. A fiber is implemented as a continuation (of fiber scope) that is wrapped as a task and scheduled by a j.u.c.Executor.

Tail Calls

Design

 

 

Overview
Content Tools
ThemeBuilder
  • No labels

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.21
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 149, "requestCorrelationId": "22a18ede80118480"}