An optimization like this would not be possible in a statically compiled environment because the information about lockusage patterns is not available at static compilation time.
像这样的优化在静态编译环境中是不可能的,因为关于锁使用模式的信息在静态编译时得不到。
2
It makes recommendations on GC usage, identifies hot methods, highlights areas of lock contention, and provides information on the environment the application is running in.
它提供关于GC使用的建议、识别热方法、突出显示锁争用区域,提供关于应用程序的运行环境的信息。
3
It is also incorrect for classes to express the desire to have their operations managed with a lock, as the classes selected will depend on the application's usage of those classes.