Skip to content

Commit fb454a0

Browse files
committed
linux criu jvm crac
1 parent fa8a852 commit fb454a0

5 files changed

Lines changed: 44 additions & 4 deletions

File tree

Java/AdvancedLearning/JVM.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ categories:
3535
- 4.1. [Hotspot JVM](#hotspot-jvm)
3636
- 4.2. [OpenJ9](#openj9)
3737
- 4.3. [GraalVM](#graalvm)
38+
- 5. [Extend](#extend)
39+
- 5.1. [CRaC](#crac)
3840

39-
💠 2024-12-12 15:04:18
41+
💠 2024-12-24 10:16:38
4042
****************************************
4143
# JVM
4244
> JVM结构及设计
@@ -442,8 +444,21 @@ IBM主导开发, 捐赠给Eclipse基金会
442444
> [Accelerating Java performance](https://www.graalvm.org/java/advantages/)`基准测试宣称快于openjdk8和11 1.55倍`
443445
> [GraalVM Native Image Support](https://docs.spring.io/spring-boot/docs/current/reference/html/native-image.html)
444446
447+
GraalVM是一种AOT编译器,需要单独对特定平台(Windows,Linux,macOS)编译出产物
448+
449+
在 GraalVM 中,我们无法使用一些 Java 功能,如在运行时加载任意类。此外,许多可观察性和测试框架都不支持 GraalVM,因为它不允许在运行时生成动态代码,也无法运行 Java 代理。
450+
445451
************************
446452
447453
> [参考: Oracle 发布多语种虚拟机平台 GraalVM 1.0](https://www.infoq.cn/article/2018%2F05%2Foracle-graalvm-v1)
448454
> [参考: 全栈虚拟机GraalVM初体验](https://zhuanlan.zhihu.com/p/35849246)
449455
456+
457+
# Extend
458+
## CRaC
459+
> [OpenJDK Wiki](https://wiki.openjdk.org/display/crac)
460+
> [Checkpoint and Restore With the JVM :: Spring Boot](https://docs.spring.io/spring-boot/reference/packaging/checkpoint-restore.html)
461+
462+
> [JVM Checkpoint Restore :: Spring Framework](https://docs.spring.io/spring-framework/reference/integration/checkpoint-restore.html)
463+
因为其实现的原理,可预见的要处理很多和时间有关的业务问题,例如调度。并且无法实现GraalVM那样的AOT实现对字节码的完全预热,只能快进到Bean准备就绪的状态,也就是省去了进程创建到Bean容器可用的时间。目前来看投入产出比很低,没有实践意义。
464+

Java/Spring/SpringBoot3.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ tags:
55
categories:
66
---
77

8-
98
💠
109

1110
- 1. [SpringBoot 3](#springboot-3)
1211

13-
💠 2024-11-18 14:49:27
12+
💠 2024-12-24 10:16:38
1413
****************************************
1514
# SpringBoot 3
1615
> [Spring Boot 3.0 Release Notes · spring-projects/spring-boot Wiki](https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-3.0-Release-Notes)
@@ -19,3 +18,7 @@ categories:
1918
1. Java EE相关包名变更 javax -> jakarta
2019
1. httpclient5, hibernate, spring security
2120

21+
22+
CRaC
23+
24+
> [Effective Scaling of Hot Application Instances with OpenJDK CRaC Help in Containers | Baeldung](https://www.baeldung.com/openjdk-crac-hot-application-instances-scaling)

Linux/Light/Alpaquita.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
title: Alpaquita
3+
date: 2024-12-24 10:16:38
4+
tags:
5+
categories:
6+
---
7+
8+
9+
💠
10+
11+
- 1. [Alpaquita](#alpaquita)
12+
13+
💠 2024-12-24 10:16:38
14+
****************************************
15+
# Alpaquita
16+
17+
> [Alpine vs Alpaquita Linux: choosing a distro for enterprise cloud-native apps](https://bell-sw.com/blog/alpaquita-vs-alpine-a-head-to-head-comparison/)
18+
19+
> [bellsoft/alpaquita-linux-base - Docker Image | Docker Hub](https://hub.docker.com/r/bellsoft/alpaquita-linux-base)
20+
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ categories:
1313
- 1. [Alpine](#alpine)
1414
- 1.1. [BusyBox](#busybox)
1515

16-
💠 2024-09-06 11:36:43
16+
💠 2024-12-24 10:16:38
1717
****************************************
1818
# Alpine
1919
> [Official Site](https://www.alpinelinux.org/)

Linux/Light/Readme.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# 轻量级Linux
2+
常用于容器化应用,降低发布的镜像大小,提高启动性能

0 commit comments

Comments
 (0)