comparison src/share/vm/code/nmethod.hpp @ 941:8b46c4d82093

4957990: Perm heap bloat in JVM Summary: Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately. Reviewed-by: jcoomes, jmasa, kvn, never
author ysr
date Wed, 02 Sep 2009 00:04:29 -0700
parents 98cb887364d3
children 89e0543e1737 54b3b351d6f9
comparison
equal deleted inserted replaced
940:8624da129f0b 941:8b46c4d82093
312 // type info 312 // type info
313 bool is_nmethod() const { return true; } 313 bool is_nmethod() const { return true; }
314 bool is_java_method() const { return !method()->is_native(); } 314 bool is_java_method() const { return !method()->is_native(); }
315 bool is_native_method() const { return method()->is_native(); } 315 bool is_native_method() const { return method()->is_native(); }
316 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; } 316 bool is_osr_method() const { return _entry_bci != InvocationEntryBci; }
317 bool is_osr_only_method() const { return is_osr_method(); }
318 317
319 bool is_compiled_by_c1() const; 318 bool is_compiled_by_c1() const;
320 bool is_compiled_by_c2() const; 319 bool is_compiled_by_c2() const;
321 320
322 // boundaries for different parts 321 // boundaries for different parts