当前位置:网站首页>0728~ sorting out interview questions
0728~ sorting out interview questions
2022-07-29 02:29:00 【Life is so hard】
say something jvm Garbage collection algorithm ?
Tag clearing algorithm : Mark the object first , And then clear it uniformly , It's called mark removal algorithm ;
Marking algorithm : First, sort the objects by memory address value , Mark the surviving object first , Then sort by memory address value , Clear unmarked ;
Tag copy algorithm : According to the actual memory capacity, it is divided into two spaces of the same size , Use only one at a time , When this is finished , Then copy another surviving object to this one after use , Then clear the used objects ;
say something jvm Garbage collection mechanism ?
Which objects need to be recycled ? Deprecated constants , There are no referenced objects ;
When to recycle ? When a class is discarded ;
How to recycle ? Use the reference counting method to judge whether the object is alive , Then go to the garbage collector ;
Sort out the script of resume template
边栏推荐
- Even PostgreSQL problem: expected authentication request from server, but received V
- WebView attack
- NPM install reports an error: eperm: operation not permitted, rename
- HTTP缓存
- ES2022 的 8 个实用的新功能
- “两个披萨”团队的分支管理实践
- Chapter 3 business function development (deletion and modification of clue remarks)
- 无线振弦采集系统工作流程
- 3d智能工厂工艺流转可视化交互展示应用优点
- Object based real-time spatial audio rendering - Dev for dev column
猜你喜欢
Object based real-time spatial audio rendering - Dev for dev column
Keil5 open the engineering prompt not found device solution
Installation guide for proftpd Secure FTP server with TLS encryption enabled
当我看源码的时候,我在想什么?
手把手教你安装VSCode(附带图解步骤)
如何快速设计一套支持渲染富文本内容的跨端组件
The first of the five tips for using browsers efficiently is the most practical
How to use RPA to achieve automatic customer acquisition?
一文读懂Okaleido Tiger近期动态,挖掘背后价值与潜力
详解JS的四种异步解决方案:回调函数、Promise、Generator、async/await
随机推荐
Thermistor temperature calculation formula program
Responsive dream weaving template home decoration website
连PostgreSQL问题:expected authentication request from server, but received v
When I look at the source code, what am I thinking?
Data security and privacy computing summit - development and application of security intersection in privacy Computing: Learning
密码安全如何保障?安全浏览器如何管理密码?
Kubesphere-多节点安装
Even PostgreSQL problem: expected authentication request from server, but received V
【上传图片可剪裁-1】
4年测试经验,好不容易进了阿里,两个月后我选择了裸辞...
time_wait和close_wait产生原因
Servlet三种实现方式
响应式织梦模板家装建材类网站
会议OA之会议通知
Altium designer outputs Gerber and other production documents
Prevent repeated clicks
How to guarantee password security? How does the secure browser manage passwords?
On Multithreading
如果非要在多线程中使用 ArrayList 会发生什么?
npm install 报错 Error: EPERM: operation not permitted, rename