mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8025692: Log what methods are touched at run-time
Added two diagnostic flags, LogTouchedMethods and PrintTouchedMethodsAtExit to list all methods that have been touched at run time. Added new jcmd, VM.print_touched_methods. Reviewed-by: acorn, iklam
This commit is contained in:
parent
99e5ddaa45
commit
6384ca7b1f
19 changed files with 319 additions and 18 deletions
|
@ -625,6 +625,8 @@ class Method : public Metadata {
|
|||
#if INCLUDE_SERVICES
|
||||
void collect_statistics(KlassSizeStats *sz) const;
|
||||
#endif
|
||||
void log_touched(TRAPS);
|
||||
static void print_touched_methods(outputStream* out);
|
||||
|
||||
// interpreter support
|
||||
static ByteSize const_offset() { return byte_offset_of(Method, _constMethod ); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue