How to write a profiler?
问题 i would to know how to write a profiler? What books and / or articles recommended? Can anyone help me please? Someone has already done something like this? 回答1: I would look at those open-source projects first: Eclipse TPTP (http://www.eclipse.org/tptp/) VisualVM (https://visualvm.dev.java.net/) Then I would look at JVMTI (not JVMPI) http://java.sun.com/developer/technicalArticles/Programming/jvmti/ 回答2: Encouraging lot, aren't we :) Profilers aren't too hard if you're just trying to get a