首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏刘君君

    JVM Garbage Collection

    每一个虚拟机线程都有自己的PC寄存器,保存Java虚拟机正在执行的字节码指令的地址,如果该方法是 native 的,那 PC 寄存器的值是 undefined

    68730发布于 2019-12-11
  • 来自专栏ADAS性能优化

    Concurrent Copying Garbage Collector in android O

    新的GC分为Pause, Copying, Reclaim三个阶段,以Region为单位进行GC。

    83430编辑于 2022-05-13
  • 来自专栏码匠的流水账

    聊聊Garbage Collector的SATB

    序 本主要研究一下Garbage Collector的SATB 屏幕快照 2019-03-23 下午12.41.46.png CMS、G1、Shenandoah在进行concurrent marking SATB在marking阶段中,对于从gray对象移除的目标引用对象标记为gray,对于black引用的新产生的对象标记为black;由于是在开始的时候进行snapshot,因而可能存在Floating Garbage );在marking阶段中,对于从gray对象移除的目标引用对象标记为gray,对于black引用的新产生的对象标记为black;由于是在开始的时候进行snapshot,因而可能存在Floating Garbage doc snapshot-at-the-beginning Shenandoah GC: Concurrent parallel marking Floating Garbage HotSpot VM

    2.1K30发布于 2019-03-23
  • 来自专栏田飞雨的专栏

    garbage collector controller 源码分析

    false, nil } // 1、初始化 discoveryClient gcClientset := ctx.ClientBuilder.ClientOrDie("generic-garbage-collector = nil { return nil, true, fmt.Errorf("failed to start the generic garbage collector: %v", err ) } // 4、启动 garbage collector workers := int(ctx.ComponentConfig.GarbageCollectorController.ConcurrentGCSyncs () defer gc.dependencyGraphBuilder.graphChanges.ShutDown() defer klog.Infof("Shutting down garbage cache.WaitForNamedCacheSync("garbage collector", stopCh, gc.dependencyGraphBuilder.IsSynced) {

    1.3K10发布于 2019-12-31
  • 来自专栏软件开发-青出于蓝

    Which garbage collection strategy is using

    Reference: https://stackoverflow.com/questions/2498942/how-can-i-see-which-garbage-collector-java-is-using

    54320发布于 2019-04-15
  • 来自专栏公众号:懒时小窝

    【Java】Garbage Collection Logging to a File in Java

    Garbage collection hides the details of having to manually allocate and deallocate memory. In this tutorial, we'll explore Java's logging options for garbage collection statistics and discover ConclusionIn this article, we've shown how to log garbage collection output in both Java 8 and Java 9

    38040编辑于 2023-08-29
  • 来自专栏公众号:懒时小窝

    【Java】Garbage Collection Logging to a File in Java

    Overview Garbage collection is a marvel of the Java programming language providing us with automatic Garbage collection hides the details of having to manually allocate and deallocate memory. In this tutorial, we'll explore Java's logging options for garbage collection statistics and discover Conclusion In this article, we've shown how to log garbage collection output in both Java 8 and Java

    30510编辑于 2023-09-14
  • 来自专栏龙首琴剑庐

    JVM G1(Garbage-First Garbage Collector)收集器全过程剖析

    G1垃圾收集器的设计原则是“首先收集尽可能多的垃圾(Garbage First)”,目标是为了尽量缩短处理超大堆(超过4GB)产生的停顿。 javase/8/docs/technotes/guides/vm/gctuning/g1_gc.html Other Blog: https://www.infoq.com/articles/G1-One-Garbage-Collector-To-Rule-Them-All

    1.9K11发布于 2020-05-09
  • 来自专栏小樱的经验随笔

    【python进阶】Garbage collection垃圾回收2

    前言 在上一篇文章【python进阶】Garbage collection垃圾回收1,我们讲述了Garbage collection(GC垃圾回收),画说Ruby与Python垃圾回收,Python中的循环数据结构以及引 c2.t = c1 print("-----1------") del c1 del c2 print("-----2------") print(gc.garbage ) print("-----3------") print(gc.collect())#显式执⾏垃圾回收 print("-----4------") print(gc.garbage 说明: 垃圾回收后的对象会放在gc.garbage列表⾥⾯  gc.collect()会返回不可达的对象数⽬,4等于两个对象以及它们对应的 dict 有三种情况会触发垃圾回收: 调⽤gc.collect

    93960发布于 2018-05-04
  • 来自专栏JMCui

    终结 finalize()和垃圾回收(garbage collection)

    1、为什么要有finalize()方法?     假定你的对象(并非使用new)获得了一块“特殊”的内存区域,由于垃圾回收器只知道释放那些经由new分配的内存,所以他不知道该如何释放该对象的这块“特殊

    90770发布于 2018-03-16
  • 来自专栏小樱的经验随笔

    【python进阶】Garbage collection垃圾回收1

    前言 GC垃圾回收在python中是很重要的一部分,同样我将分两次去讲解Garbage collection垃圾回收,此篇为Garbage collection垃圾回收第一篇,下面开始今天的说明~~~ 1.Garbage collection(GC垃圾回收) 现在的⾼级语⾔如java,c#等,都采⽤了垃圾收集机制,⽽不再是c,c++⾥ ⽤户⾃⼰管理维护内存的⽅式。 (标记清除和分代收集) 2.画说Ruby与Python垃圾回收 英⽂原⽂: visualizing garbage collection in ruby and python 2.1.应⽤程序那颗跃动的

    1.3K70发布于 2018-05-04
  • 来自专栏glm的全栈学习之路

    Garbage Disposal

    Now he wants to create a garbage disposal plan and stick to it. Vasya disposes of garbage by putting it inside a bag and dropping the bag into a garbage container. Each bag can contain up to kk units of garbage. No garbage should be left after the nn-th day. No garbage can be left after the nn-th day.

    47020发布于 2020-09-28
  • 来自专栏Throwable's Blog

    深入理解Java中的Garbage Collection

    什么是GC(Garbage Collection) Garbage Collection可以翻译为“垃圾收集” – 一般主观上会认为做法是:找到垃圾,然后把垃圾扔掉。 如果整个Eden都没有足够的空间,则会触发YGC(Young Generation Garbage Collection),以释放更多的Eden中的空间。 Minor GC Minor GC,也就是Minor Garbage Collection,直译为次级垃圾回收,它的定义相对清晰:发生在年轻代的垃圾回收就叫做Minor GC。 Minor Garbage Collection处理过程中会发生: 当JVM无法为新的对象分配内存空间的时候,始终会触发Minor GC,常见的情况如Eden的内存已经满了,并且对象分配的发生率越高,Minor 参考资料: 《深入理解Java虚拟机-2nd》 《The Garbage Collection Handbook》 知乎-RednaxelaFX部分回答 Java Garbage Collection

    91910发布于 2020-06-23
  • 来自专栏逆回十六夜

    Java垃圾回收机制(Garbage Collection)--笔记

    学习笔记摘自https://www.bilibili.com/video/av30023103/?p=67 内存管理 java的内存管理很大程度指的就是对象的管理,其中包括对象空间的分配和释放。 对象

    1.3K10发布于 2019-08-07
  • 来自专栏全栈程序员必看

    UVA – 11637 Garbage Remembering Exam (组合+可能性)

    Little Tim is now a graduate,and is thinking about higher studies. However, he first needs to appear in anexam whose preparation alone includes memorizing the meanings of over 3500words!

    34020编辑于 2022-07-05
  • 来自专栏架构驿站

    一文读懂 Garbage Collection 与 CPU 资源

    Hello folks,我是 Luga,今天我们来聊一下 Java 虚拟机生态核心技术—— GC 技术,即 “Garbage Collection” 。 — 01 — 什么是 Garbage Collection ? 在计算机科学体系中,垃圾收集(GC)是一种自动内存管理的形式。 — 02 — Garbage Collection 对性能的影响 ? 通常来讲,垃圾收集器的性能是由存活对象的数量而非死亡对象的数量决定的。 — 03 — 如何观测 Garbage Collection 引起的 CPU 资源消耗情况? 综上所述,通过采取这些措施,可以降低 Garbage Collection(垃圾回收)引起的 CPU 资源消耗,提高应用程序的性能和资源利用率。

    1.7K53编辑于 2023-08-09
  • 来自专栏博文视点Broadview

    Garbage First(G1)垃圾收集器

    G1垃圾收集器采用一个略微不同的手段来解决并行、串行以及CMS GC的众多缺陷。G1将堆拆成一系列的分区,这样在一个时间段内,大部分的垃圾收集操作就只是在一个分区内执行,而不是整个堆或整个(老年)代。

    39720发布于 2020-06-11
  • 来自专栏全栈程序员必看

    深入理解PHP的GC(Garbage collection)问题「建议收藏」

    2.为什么说GC问题是避免不了的,什么又是无用GC,怎么发现/解决代码中存在的GC问题, GC又占用了多少CPU

    84520编辑于 2022-07-19
  • 来自专栏奔跑的人生

    Java 新型垃圾回收器(Garbage First,G1)

    difference between it and the parallel collector is that it uses a new algorithm for old generation garbage G1实现原理 基本属性 和CMS的相同点 CMS Replacement(CMS替代物) Server 'Style' Garbage Collector(服务端垃圾收集器-内存,核数区别) Parallel

    79520发布于 2019-09-11
  • 来自专栏我的小碗汤

    kubernetes垃圾回收器Garbage Collector Controller源码分析(二)

    . // The garbage processor will enqueue a virtual delete // event to delete it 参考: k8s官方文档garbage-collection英文版:https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection

    93620发布于 2019-10-15
领券