SAP 内存管理及常见问题 1.基于OS的分类和基于SAP的分类 2.内存的相关参数 2.1 EXtended Memory 2.2 Heap Memory 2.3 paging Memory 3.不同SAP kernel 内存的相关参数 4. 内存的分配次序 5. 操作系统的差异 note: 78 ...
分类:
其他好文 时间:
2020-01-20 15:02:51
阅读次数:
187
转自:https://introspelliam.github.io/2017/09/30/linux%E7%A8%8B%E5%BA%8F%E7%9A%84%E5%B8%B8%E7%94%A8%E4%BF%9D%E6%8A%A4%E6%9C%BA%E5%88%B6/ 操作系统提供了许多安全机制来尝试 ...
分类:
系统相关 时间:
2020-01-20 09:55:50
阅读次数:
134
Heap.h 1 #include <algorithm> 2 #include <cassert> 3 4 using namespace std; 5 6 template<typename Item> 7 class MaxHeap{ 8 private: 9 Item *data; 10 i ...
分类:
编程语言 时间:
2020-01-19 09:51:43
阅读次数:
103
首先几个基本概念(网上的各种说法都很乱;个人理解整理了一下 内存分类方法很多,动态、静态; 五区; 三段; 内存的区: 1.动态存储区分为 栈区、堆区 也统称为堆栈段1.1栈区(stack) 编译器自动分配释放,存放函数的参数值,局部变量的值等。函数结束自动释放1.2堆区(heap) 一般由程序员分 ...
分类:
编程语言 时间:
2020-01-19 00:21:33
阅读次数:
95
一、什么式方法区 方法区,也称非堆(Non Heap),又是一个被线程共享的内存区域。其中主要存储加载的类字节码、class/method/field等元数据对象、static final常量、static变量、jit编译器编译后的代码等数据。另外,方法区包含了一个特殊的区域“运行时常量池”。 (1 ...
分类:
其他好文 时间:
2020-01-18 19:36:17
阅读次数:
89
谈谈Collection [toc] 前言 这一篇讲的collection接口;首先,集合是用来 存储数据 的,它是基于某种数据结构数据容器。常见的数据结构:数组(Array)、集(Set)、队列(Queue)、链表(Linkedlist)、树(Tree)、堆(Heap)、栈(Stack)和映射(M ...
分类:
编程语言 时间:
2020-01-18 16:56:39
阅读次数:
118
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:
其他好文 时间:
2020-01-17 21:13:06
阅读次数:
93
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:
其他好文 时间:
2020-01-17 20:50:35
阅读次数:
68
? -Xms,-Xmn适用于调整个Jvm Heap大小,在内存不够的情况下可加大此值,这个值的大小取决于操作系统的位数和CPU的处理能力。 1.在整个heap内存不变的情况下,-Xmn↑调大,意味着老年代↓减小,发生FullGC的频率变大。 2.在-Xmn不变的情况下,Eden↑调大,以为Minor ...
分类:
其他好文 时间:
2020-01-15 14:01:01
阅读次数:
73
importjava.util.Arrays;publicclassTest{privatestaticvoidswap(int[]arr,inta,intb){inttmp=arr[a];arr[a]=arr[b];arr[b]=tmp;}privatestaticintparent(inti){return(i-1)>>1;}privatestaticintleft(inti){r
分类:
编程语言 时间:
2020-01-15 09:21:14
阅读次数:
88