Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Virtual Thread - 導入の背景と、効果的な使い方 -
Search
Yuichi.Sakuraba
January 21, 2023
Technology
880
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Virtual Thread - 導入の背景と、効果的な使い方 -
2023.01.21 ブリ会議 発表資料
Yuichi.Sakuraba
January 21, 2023
More Decks by Yuichi.Sakuraba
See All by Yuichi.Sakuraba
Inside Stream API
skrb
1
1k
Java 25に至る道
skrb
3
330
Lazy Constant - finalフィールドの遅延初期化
skrb
0
5.4k
Language Update: Java
skrb
2
550
Java 30周年記念! Javaの30年をふりかえる
skrb
4
4.1k
JavaにおけるNull非許容性
skrb
2
4.1k
あなたはJVMの気持ちを理解できるか?
skrb
6
37k
で、ValhallaのValue Classってどうなったの?
skrb
2
17k
Javaにおける関数型プログラミンへの取り組み
skrb
7
770
Other Decks in Technology
See All in Technology
Post AI時代のリファクタリング実践記 / Refactoring in the post AI era
kaminashi
1
280
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
930
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
310
QA4AI 2026-Oct 生成AI時代の品質保証
tokuty
1
890
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
350
自作バイナリを動かす「入口」8選
puhitaku
2
1.3k
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
470
『SAR衛星データ解析入門』のご紹介とその応用
syuchimu
0
120
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
120
Rust で関数型ドメインモデリング
takonda
0
170
しろおびから始める!ログ活用の第一歩
shumei_ito
0
960
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
170
Featured
See All Featured
Accessibility Awareness
sabderemane
1
250
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
560
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
Deep Space Network (abreviated)
tonyrice
0
370
A Soul's Torment
seathinner
8
3.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
22k
So, you think you're a good person
axbom
PRO
2
2.2k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Skip the Path - Find Your Career Trail
mkilby
1
260
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Transcript
- -
• • • • • •
• • • •
• • • →
None
• • • → •
• • • • •
public class ThreadPoolExecutor extends AbstractExecutorService { ... private final class
Worker extends AbstractQueuedSynchronizer implements Runnable { Worker(Runnable firstTask) { setState(-1); this.firstTask = firstTask; this.thread = getThreadFactory().newThread(this); } ...
• • •
• • • • • • •
• • •
• • • • • • •
None
None
None
None
None
int blockingRead(byte[] b, int off, int len, long nanos) throws
IOException { ... // read, no timeout configureSocketNonBlockingIfVirtualThread(); n = tryRead(b, off, len); while (IOStatus.okayToRetry(n) && isOpen()) { park(Net.POLLIN); n = tryRead(b, off, len); } ...
• • • • • • • •
• • • • •
• • • •
• • • •
• • • • • • •
• • • • • • •
- -