
CLR
newtee
Sometimes, you need to step outside, get some air, and remind yourself of who you are and who you want to be
展开
-
.NET ClrProfiler ILRewrite 商业级APM原理
Demo:https://github.com/caozhiyuan/ClrProfiler.Trace背景为了实现自动、无依赖地跟踪分析应用程序性能(达到商业级APM效果),作者希望能动态修改应用字节码。在相关调研之后,决定采用profiler api进行实现。介绍作者将对.NET ClrProfiler 字节码重写技术进行相关阐述。Profiler是微软提供的一套跟踪和分析...原创 2019-02-16 14:49:43 · 465 阅读 · 0 评论 -
.NET ThreadPool算法
.NET ThreadPool相关算法记录1、ManagedThreadPool(corefx).net4.0之前只有全局队列,为了解决全局队列多线程竞争使用问题,引入work-stealing算法(golang scheduler也是这个算法)。内部是通过ThreadLocalWorkStealingQueue实现。详细说明:(http://www.danielmoth.com/...原创 2019-04-07 06:58:05 · 273 阅读 · 0 评论