Tag:Cenozoic era

  • You have to know about JVM garbage collection

    Time:2022-5-7

    catalogue 1、 Four citation methods1.1 strong reference1.2 soft reference1.3 weak reference1.4 phantom reference 2、 How to judge whether the object is garbage2.1 reference counting method2.2 root accessibility analysis 3、 Garbage collection algorithm3.1 mark sweep3.2 mark compact3.3 mark copy 4、 Garbage collector4.1 classification and characteristics4.1.1 serial4.1.2 throughput priority4.1.3 priority of response time4.2 serial garbage collector details […]

  • 20210412-20210416 technical weekly report

    Time:2022-5-3

    Hello, Hello, monkey, I’m writing the code into a bug. Official account: bighead technology. Original is not easy, but welcome to reprint. Main content of this week’s technical weekly report: JVM related knowledge points JVM related knowledge points This week, I mainly study the relevant knowledge of JVM and some real JVM production cases. Try […]

  • JVM learning 1

    Time:2021-12-20

    1、 Class loading subsystem 1.1 loading process of class flow chart 1. Loading phase Get the definition of a class through its fully qualified nameBinary byte stream Convert the static storage structure represented by this byte stream intoRuntime data structure of method area stayIn memoryGenerate a Java. XML file representing this class lang.Class object, as […]

  • [simple] javascript GC garbage collection mechanism

    Time:2021-12-17

    Writing is not easy. Reprinting in any form is prohibited without the permission of the author!If you think the article is good, you are welcome to pay attention, praise and share!Continue to share technical blog, pay attention to WeChat official account front-end LeBronNuggets original Why do I need garbage collection In C / C + […]

  • 20210322-20210326 technical weekly report

    Time:2021-10-19

    preface The main technical content this week is to share the basic knowledge of JVM and some production accident cases JVM First ask a question: in the company, what are the parameters of the JVM of the project you are responsible for? For example, the size of the heap, maxheapsize, the size of the new […]

  • Technical weekly report of 20210322-20210326

    Time:2021-5-9

    preface The main technical content of this week is to share the basic knowledge of JVM and some production accident cases JVM First ask a question: in the company, what is the number of parameters of the project JVM you are responsible for? For example, the size of the heap, maxheapsize, the size of the […]

  • JVM series 15 (object allocation considerations)

    Time:2020-11-23

    Reduce the distribution rate This hardly needs to be explained. It reduces the amount of memory used, which naturally reduces the pressure on GC recovery, and reduces the memory fragmentation and CPU usage. When designing objects, you should carefully check and ask yourself: Do I really need this object? Is this field what I need? […]

  • V8 memory management and garbage collection mechanism

    Time:2020-9-29

    Due to the V8 engine, node has some limitations when operating large memory objects. On 64 bit machines, the default maximum operation object size is about 1.4g, and on 32-bit machines, the default maximum operation object size is about 0.7G.If our node program often operates on objects with large memory, you can modify this default […]

  • JVM Performance Optimization — Java garbage collection mechanism

    Time:2020-8-16

    1、 JAVA memory structure 1. Java heap Java heap is the largest block of memory managed by Java virtual machine. It is a memory area shared by all threads. It is created when the virtual machine is started. The only purpose of this memory area is to store object instances, which is described in the […]

  • . net platform GC vs JVM garbage collection

    Time:2020-8-7

    preface I don’t know if you usually pay attention to the memory usage of the program. I pay less attention to it. By optimizing the space of a local program, I just compared. Net platform garbage collection and JVM garbage collection. By the way, I used dotmemory to see the memory snapshot after the program […]

  • JVM Performance Optimization — JVM parameter configuration, using JMeter simple test to explain parameter tuning

    Time:2020-7-15

    1、 JVM parameter configuration 1. Common parameter configuration -20: + printgc prints the relevant log every time the GC is triggered -20: + useserialgc serial recycle -20: + printgcdetails more detailed GC logs -Initial value of XMS heap -Xmx heap maximum available value -Maximum available value of XMN Cenozoic reactor -20: Survivorratio is used to […]

  • Just wrote a line of code and was asked so many questions

    Time:2020-6-15

    Interviewer: how to create a local byte type array?Xiaobai: (is it too basic, chuckle) byte [] arrays = new byte [1024]. Interviewer: when will the array object pointed to by this local arrays variable be recycled by GC?Xiaobai: no variables refer to this array object, or the local variable space (slot) of arrays in the […]