Mercurial > hg > graal-jvmci-8
comparison src/share/vm/interpreter/interpreterRuntime.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 | be93aad57795 |
children | 389049f3f393 |
comparison
equal
deleted
inserted
replaced
940:8624da129f0b | 941:8b46c4d82093 |
---|---|
46 static int number_of_dimensions(JavaThread *thread) { return bcp(thread)[3]; } | 46 static int number_of_dimensions(JavaThread *thread) { return bcp(thread)[3]; } |
47 | 47 |
48 static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); } | 48 static ConstantPoolCacheEntry* cache_entry_at(JavaThread *thread, int i) { return method(thread)->constants()->cache()->entry_at(i); } |
49 static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); } | 49 static ConstantPoolCacheEntry* cache_entry(JavaThread *thread) { return cache_entry_at(thread, Bytes::get_native_u2(bcp(thread) + 1)); } |
50 static void note_trap(JavaThread *thread, int reason, TRAPS); | 50 static void note_trap(JavaThread *thread, int reason, TRAPS); |
51 | |
52 // Inner work method for Interpreter's frequency counter overflow | |
53 static nmethod* frequency_counter_overflow_inner(JavaThread* thread, address branch_bcp); | |
51 | 54 |
52 public: | 55 public: |
53 // Constants | 56 // Constants |
54 static void ldc (JavaThread* thread, bool wide); | 57 static void ldc (JavaThread* thread, bool wide); |
55 | 58 |