码迷,mamicode.com
首页 >  
搜索关键字:garbage collection    ( 6557个结果
Kafka-再均衡监听器
Kafka-再均衡监听器 在为消费者分配新分区或移除旧分区时,可以通过消费者API执行一些应用程序代码,在调用subscribe()方法时传进去一个ConsumerRebalanceListener实例就可以了。 public void onPartitionsRevoked(Collection< ...
分类:其他好文   时间:2020-04-06 15:36:29    阅读次数:89
集合之 Collection
1、Java 中的 Collection(实际是一个接口) 集合继承了 Iterable 接口,所以里面有 Iterator 方法。 2、Collection 集合的一些常用方法: boolean add(E e); 泛型写法 boolean add(Object e); // 添加元素 int s ...
分类:其他好文   时间:2020-04-06 13:46:25    阅读次数:55
CF A. Dreamoon and Ranking Collection
A. Dreamoon and Ranking Collection Example: input 5 6 2 3 1 1 5 7 10 1 100 100 11 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 4 57 80 60 40 20 output: 5 101 2 2 60 ...
分类:其他好文   时间:2020-04-06 09:56:27    阅读次数:76
【译】Java SE 14 Hotspot 虚拟机垃圾回收调优指南
原文链接: "HotSpot Virtual Machine Garbage Collection Tuning Guide" ,基于Java SE 14。 本文主要包括以下内容: "优化目标与策略(Ergonomics)" "垃圾收集器实现(Garbage Collector Implementa ...
分类:编程语言   时间:2020-04-05 18:32:29    阅读次数:71
CF Round #631 题解
$Codeforces$ $Round$ $631$ "A.Dreamoon and Ranking Collection" 题目大意: $n$轮比赛,每轮比赛排名已经给出,还可以进行额外的$m$场比赛 问:所有比赛进行完后,最多可以收集到从$1$开始的多少个连续名次 题解: 用一个数组统计一下排名 ...
分类:其他好文   时间:2020-04-05 15:52:50    阅读次数:118
Queue(队列)接口和其实现类PriorityQueue(优先级队列)源码解析
前面介绍的Stack是新进后出,而Queue是先进先出的 1、Queue结构 public interface Queue<E> extends Collection<E> { boolean add(E e); boolean offer(E e); E remove(); E poll(); E ...
分类:其他好文   时间:2020-04-05 13:19:01    阅读次数:90
CF A. Dreamoon and Ranking Collection 【模拟】
A. Dreamoon and Ranking Collection time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Dreamo ...
分类:其他好文   时间:2020-04-05 11:58:56    阅读次数:136
Codeforces Round #631 (Div. 2) - Thanks, Denis aramis Shitov!
题目链接:https://codeforces.com/contest/1330 A Dreamoon and Ranking Collection 随便弄弄。 B Dreamoon Likes Permutations 题意:给一串n个数字,范围在[1,n 1],求有多少种方法,把它断成前后两段排 ...
分类:其他好文   时间:2020-04-05 10:03:35    阅读次数:116
FJUTOJ-1384-FatMouse's Speed(DP)
FatMouse's Speed FatMouse believes that the fatter a mouse is, the faster it runs. To disprove this, you want to take the data on a collection of mice ...
分类:其他好文   时间:2020-04-05 00:45:28    阅读次数:91
详解 JVM Garbage First(G1) 垃圾收集器
前言 Garbage First(G1)是垃圾收集领域的最新成果,同时也是HotSpot在JVM上力推的垃圾收集器,并赋予取代CMS的使命。如果使用Java 8/9,那么有很大可能希望对G1收集器进行评估。本文详细首先对JVM其他的垃圾收集器进行总结,并与G1进行了简单的对比;然后通过G1的内存模型 ...
分类:其他好文   时间:2020-04-04 18:46:05    阅读次数:62
6557条   上一页 1 ... 36 37 38 39 40 ... 656 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!