JVM class loading process parsing
WeChat official account: operation and development story, Lao Zheng
Class loading process
Class loading timing
The whole life cycle of a type will go through seven stages: loading, verification, preparation, parsing, initialization, use and unloading. Where validation, preparation, and resolution are connections
Seven cases in which class ...
Posted by only one on Thu, 20 Jan 2022 23:22:12 +0100
Python learning notes_ list
Lists are equivalent to arrays in other languages Multiple different data types can be stored in the list How to create a list: ① Use brackets [] ② Call the built-in function list()
lst = ['hello', 'world', 98]
lst2 = list(['hello', 'world', 98])
print(lst)
print(lst2)
print(lst[1]) # world
print(lst[-2]) # world
Features of the list: ① Th ...
Posted by juancuca on Thu, 20 Jan 2022 21:34:27 +0100
Java Foundation: object oriented: overload, variable number formal parameters, value passing mechanism, recursion
1. Heavy load
The concept of overloaded methods Definition: more than one method with the same name is allowed in the same class, as long as their parameter number or parameter type are different. Summary: "two are the same and different": the same class and the same method name Different parameter lists: different parameter numb ...
Posted by amirbwb on Thu, 20 Jan 2022 20:45:36 +0100
C + + foundation -- classes and objects (middle) -- constructor, destructor, copy construction
1. The default six member functions of the class
If there is nothing in a class, it is referred to as an empty class. Is there nothing in the empty class? No, if I don't implement any class, the following six default member functions will be generated automatically
Default member functions: they are special member functions. If we don't imp ...
Posted by amedhussaini on Thu, 20 Jan 2022 19:55:48 +0100
Develop IDEA Plugin, introduce probe, and obtain and execute SQL based on bytecode stake
Author: Xiao Fu GeBlog: https://bugstack.cnPrecipitate, share and grow, so that you and others can gain something! 😄1, ForewordOne sided!On the third day of January, Tolstoy said, "what a great writer is just writing his own one-sided". Not to mention me, not to mention us!Although we don't write articles, we write requirements, code ...
Posted by aaadispatch on Thu, 20 Jan 2022 15:53:02 +0100
Analysis of Spring source code -- DI (dependency injection)
Spring core DI
Official website interpretation
Dependency injection (DI) is a process whereby objects define their dependencies (that is, the other objects with which they work) only through constructor arguments, arguments to a factory method, or properties that are set on the object instance after it is constructed or returned from a fa ...
Posted by kfir91 on Thu, 20 Jan 2022 15:10:56 +0100
[ceph related] bucket dynamic slicing
[ceph related] bucket dynamic slicing
1. Background description
Reference notes: https://access.redhat.com/documentation/en-us/red_hat_ceph_storage/2/html/object_gateway_guide_for_ubuntu/administration_cli#configuring-bucket-index-sharding https://ceph.com/community/new-luminous-rgw-dynamic-bucket-sharding/
1.1 problem description
Duri ...
Posted by bliljerk101 on Thu, 20 Jan 2022 15:06:56 +0100
Slf4j with cloud log system
Basic concepts
performance
These key points should be met:
(1) Easy to use, one line of code may be a problem.
(2) Easy integration, Ctrl C/V two minutes to get the kind.
(3) High performance can not affect the business itself, or the impact is the lowest when necessary. If a business takes 10 milliseconds and 9 milliseconds are spent on l ...
Posted by Buyocat on Thu, 20 Jan 2022 14:23:12 +0100
Read and understand the linked table query
1, Relationship between tables
1.1 one to one
1.2 one to many
A class can have multiple students, which is called one to many relationship
1.3 many to many
A teacher can lead multiple students, and a student can be taught by multiple teachers, so the relationship between the two tables is many to many.
2, Join table query
2.1 co ...
Posted by AJW on Thu, 20 Jan 2022 13:30:56 +0100
[c + +] notes on c + + basic syntax
Basics
The statement ends with a semicolon compile g++ name.cpp -o new_name
# gcc for c language
# g for c + +++
implement ./name
Standard library
Core language: provides all building blocks, including variables, data types, constants, etcc + + Standard Library: provides a large number of functions for manipulating objects such as fi ...
Posted by Hallic7 on Thu, 20 Jan 2022 13:12:31 +0100