Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic


yan quanyu
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, sorry to bother you! I am a non-English speaker, so my English is not very standard. But i will try to make myself understood. I am wondering if you'd give me a hand about how to use JVMTI. To be specific, i'd like to profile a method, within which , i'd like to know, how many bytes are allocated in the heap. If this method invocates another method, then what about the size of the combination of the two methods? In addition, since the above-mentioned function can be utilized in JPprofiler, whether BCI( bytecode instrumentation ) should be used or not if i'd like to use JVMTI to implement the funtion. Meanwhile, if possible, would you mind sharing some code with me ? If not, would you like to give some hints? Or would you share some materials concerning BCI with me, who is green in it.
Thank you for you time! I really appreciate it !
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!