September 20, 2023
The meaning of escapes to the heap is variables needs to be shared across the function stack frames [between main() and Println()] …
… So globally access variables must be moved to heap as it requires runtime. So the output line 11:2 shows the same as the data variable moved to the heap memory.
From
September 20, 2023
他想做的事情,与你想他做的事情,与你在做的事情。
这些事情之间是否存在交集,如果一点都没有,那不就是事与愿违了吗?
September 15, 2023
查找并杀掉运行中事务 # -- 获取线程id然后杀掉 SELECT * FROM information_schema.innodb_trx; kill 36272; kill 36275; kill 35971; kill 35972; -- 其它 select * from performance_schema.events_statements_current; show processlist; 查看锁使用情况 # SELECT object_name, index_name, lock_type, lock_mode, lock_data FROM performance_schema.data_locks;