当前位置:网站首页>day4-jvm
day4-jvm
2022-07-24 06:07:00 【lonelyMangoo】
Today's summary
In the morning, I went to the hospital to have a look at my throat , It's four o'clock for a nap in the afternoon , Chat with dad in the evening , I only watched a little all day jvm(76~83).
JVM
GC Differentiation and analysis
G1 When the old generation is insufficient , When the threshold is reached
Concurrent Tags + Mixed collection
If the recycling speed is lower than the speed of garbage generation , At this time, there is only a small pause
Conversely, it degenerates into serial
remark
In the concurrent tagging phase , Processed c after , Someone quoted c.
When the object reference changes , Will add a write barrier .
The writing barrier is c Join a queue and set to gray
After concurrency , Get into remark, Make further judgment .
In order to avoid being disposed of as garbage .
G1 Optimize
● String de duplication
String The bottom layer uses char Array
So add the newly allocated string to a queue , When recycling in the new era , Check whether there is string repetition , If the values are the same , Quote the same char[]
advantage : Save memory
shortcoming : Slightly occupied cpu Memory , The recycling time of the new generation is slightly increased .
Default on
● Concurrent tag class unloading
After concurrent marking , Know which classes are no longer used ,
Conditions : When all classes of a class loader are no longer used , Then unload all the classes it loads .
● Giant object
○ def: Greater than region Half of
○ No copy
○ Priority should be given to recycling .
○ When no one quoted it in the old days , It can be disposed of when it is recycled in the new generation .
● Concurrent marking time adjustment
Dynamically adjust the threshold , Prevent degradation into full gc
reflection
I didn't expect it to be true to fish for three days and dry the net for two days , After three days of study, I began to slack off , I have to go out tomorrow … I hope to study before going out . A company notice passed today , Next, we need to prepare two sides .
边栏推荐
- JUC并发编程基础(8)--读写锁
- Detailed explanation of KMP code distribution
- 字符串方法以及实例
- [MYCAT] MYCAT sub database and sub table
- day1-jvm+leetcode
- Chapter IV decision tree summary
- JUC并发编程基础(6)--Lock锁
- QT char to qstring hexadecimal and char to hexadecimal integer
- Introduction to QT new project
- Draw contour cv2.findcontours function and parameter interpretation
猜你喜欢
![[deep learning] handwritten neural network model preservation](/img/4a/27031f29598564cf585b3af20fe27b.png)
[deep learning] handwritten neural network model preservation

JUC并发编程基础(6)--Lock锁

C language linked list (create, traverse, release, find, delete, insert a node, sort, reverse order)

头歌 平台作业

MySql与Qt连接、将数据输出到QT的窗口tableWidget详细过程。
![[USB host] stm32h7 cubemx porting USB host with FreeRTOS to read USB disk, usbh_ Process_ The OS is stuck. There is a value of 0xa5a5a5](/img/be/b7723920f0e81e8699bb26dd1c0fe5.png)
[USB host] stm32h7 cubemx porting USB host with FreeRTOS to read USB disk, usbh_ Process_ The OS is stuck. There is a value of 0xa5a5a5
![[raspberry pie 4B] VII. Summary of remote login methods for raspberry pie xshell, putty, vncserver, xrdp](/img/dc/364fdc4c1748cc5522e4592bc47dc3.png)
[raspberry pie 4B] VII. Summary of remote login methods for raspberry pie xshell, putty, vncserver, xrdp

Typora 安装包2021年11月最后一次免费版本的安装包下载V13.6.1
![[MYCAT] Introduction to MYCAT](/img/26/8911fe9e1fb104d7185dda0881804b.png)
[MYCAT] Introduction to MYCAT

字符串方法以及实例
随机推荐
论文阅读-Endmember-Guided Unmixing Network (EGU-Net) 端元指导型高光谱解混网络
[MYCAT] Introduction to MYCAT
字符串方法以及实例
JUC并发编程基础(8)--读写锁
Typora installation package in November 2021, the last free version of the installation package to download v13.6.1
Yolov5 learning summary (continuously updated)
[deep learning] teach you to write "handwritten digit recognition neural network" hand in hand, without using any framework, pure numpy
systemctl + journalctl
比较好的CV链接收藏(动态更新)
【USB Host】STM32H7 CubeMX移植带FreeRTOS的USB Host读取U盘,USBH_Process_OS卡死问题,有个值为0xA5A5A5A5
Typora 安装包2021年11月最后一次免费版本的安装包下载V13.6.1
Search of two-dimensional array of "sword finger offer" C language version
day-7 jvm完结
MySQL基础---约束
vscode 多行注释总是会自动展开的问题
【深度学习】手把手教你写“手写数字识别神经网络“,不使用任何框架,纯Numpy
使用Qt连接MySql并创建表号、写入数据、删除数据
Channel attention and spatial attention module
Conversion of world coordinate system, camera coordinate system and image coordinate system
jestson安装ibus输入法