Tag:garbage

  • How does Python manage memory?

    Time:2021-9-16

    Python mainly manages memory through reference counting and memory pool mechanism. 1、 Reference counting mechanism Python internally uses reference counting (recording how many references an object has) to keep track of objects in memory. When an object is created, the reference count of the object is increased by 1; When an object is destroyed, the […]

  • Some superficial understanding of PHP garbage collection mechanism

    Time:2021-9-15

    I believe that as long as students who have learned a little about development know that no matter any programming language, a variable will be saved in memory. In fact, we developers are constantly manipulating the memory. Accordingly, if we keep adding new variables, the memory will always increase. If there is no good mechanism, […]

  • Introduction to map, weakmap, set and weakset in JavaScript

    Time:2021-9-14

    Source:https://medium.com/better-programmingMoon: Translation: official account, front-end full stack developer. I suspect that more than 70% of JavaScript developers use only objects to collect and maintain data in their projects. Well, indeed, new collection objects (such as map and set) have not been fully utilized even though they came out in 2015. So today, I’m going to […]

  • Analysis of java reference mechanism in Java programming development

    Time:2021-9-10

    For a Java object, there are two main types of storage: one is the memory heap, which is unordered and is mainly used to store the created Java object; One is the memory stack, which is mainly used to store Java references, and then use Java references to point to Java objects in the management […]

  • Large factory interview series (I): JVM Foundation

    Time:2021-9-8

    JVM interview questions Bytecode correlation Do you know the bytecode? What are the bytecodes? JMM memory model What are the main components and functions of JVM? JVM, memory model, memory barrier Objects must be allocated on the stack. Objects do not have to be allocated on the heap. JIT can allocate on the stack Distinguish […]

  • Talk about rust webassembly in simple terms (I)

    Time:2021-9-5

    What is web assembly Before December 2019, if you want to write a web page, you must be inseparable from the three good brothers of HTML, CSS and JS. After December 2019, W3C announced that webassembly had joined them. Why join webassembly after three brothers? Is it different from the previous one? In contrast to […]

  • Go’s advantages

    Time:2021-9-3

    Go is highly respected as an efficient industrialized language, which is directly related to the advantages of the language itself: The syntax is simple, easier to use and more efficient than other languages; With garbage collection (GC), there is no need to manually apply for memory release, which can effectively avoid bugs and improve performance; […]

  • ☕[ JVM technical guide] (2) common garbage collection algorithms of garbage collection subsystem

    Time:2021-8-31

    Series articles: ☕[ JVM technical guide] (1) garbage collection tag and object reference of garbage collection system ☕[ JVM technical guide] (2) common garbage collection algorithms of garbage collection subsystem ☕[ JVM technical guide] (3) garbage collector of garbage collection system ☕[ JVM technical guide] (4) G1 garbage collector SATB of garbage collection system Common […]

  • ☕[ JVM technical guide] (3) garbage collector of garbage collection system

    Time:2021-8-30

    Series articles: ☕[ JVM technical guide] (1) garbage collection tag and object reference of garbage collection system ☕[ JVM technical guide] (2) common garbage collection algorithms of garbage collection subsystem ☕[ JVM technical guide] (3) garbage collector of garbage collection system ☕[ JVM technical guide] (4) G1 garbage collector SATB of garbage collection system If […]

  • ☕[ JVM technical guide] (4) G1 garbage collector SATB of garbage collection system

    Time:2021-8-29

    Series articles: ☕[ JVM technical guide] (1) garbage collection tag and object reference of garbage collection system ☕[ JVM technical guide] (2) common garbage collection algorithms of garbage collection subsystem ☕[ JVM technical guide] (3) garbage collector of garbage collection system ☕[ JVM technical guide] (4) G1 garbage collector SATB of garbage collection system Object […]

  • ☕[ JVM technical guide] (1) garbage collection tag and object reference of garbage collection system

    Time:2021-8-22

    Series articles: ☕[ JVM technical guide] (1) garbage collection tag and object reference of garbage collection system ☕[ JVM technical guide] (2) common garbage collection algorithms of garbage collection subsystem ☕[ JVM technical guide] (3) garbage collector of garbage collection system ☕[ JVM technical guide] (4) G1 garbage collector SATB of garbage collection system Problem […]

  • The 7th Engineering Training Competition — waste classification

    Time:2021-8-20

    The 7th Engineering Training Competition On April 9, 2021, the seventh engineering training competition was held in Zhejiang Province. Our group participated in the project of waste classification. Our group successfully advanced to the finals, but we did not mark a variety of waste classification in the final rules. We were not fully prepared to […]