comparison src/share/vm/runtime/vm_operations.hpp @ 12324:510fbd28919c

8020151: PSR:PERF Large performance regressions when code cache is filled Summary: Code cache sweeping based on method hotness; removed speculatively disconnect Reviewed-by: kvn, iveresov
author anoll
date Fri, 27 Sep 2013 10:50:55 +0200
parents f2110083203d
children cefad50507d8 63a4eb8bcd23 f42c10a3d4b1
comparison
equal deleted inserted replaced
12323:c9ccd7b85f20 12324:510fbd28919c
49 template(Deoptimize) \ 49 template(Deoptimize) \
50 template(DeoptimizeFrame) \ 50 template(DeoptimizeFrame) \
51 template(DeoptimizeAll) \ 51 template(DeoptimizeAll) \
52 template(ZombieAll) \ 52 template(ZombieAll) \
53 template(UnlinkSymbols) \ 53 template(UnlinkSymbols) \
54 template(HandleFullCodeCache) \
55 template(Verify) \ 54 template(Verify) \
56 template(PrintJNI) \ 55 template(PrintJNI) \
57 template(HeapDumper) \ 56 template(HeapDumper) \
58 template(DeoptimizeTheWorld) \ 57 template(DeoptimizeTheWorld) \
59 template(CollectForMetadataAllocation) \ 58 template(CollectForMetadataAllocation) \
259 VMOp_Type type() const { return VMOp_DeoptimizeFrame; } 258 VMOp_Type type() const { return VMOp_DeoptimizeFrame; }
260 void doit(); 259 void doit();
261 bool allow_nested_vm_operations() const { return true; } 260 bool allow_nested_vm_operations() const { return true; }
262 }; 261 };
263 262
264 class VM_HandleFullCodeCache: public VM_Operation {
265 private:
266 bool _is_full;
267 public:
268 VM_HandleFullCodeCache(bool is_full) { _is_full = is_full; }
269 VMOp_Type type() const { return VMOp_HandleFullCodeCache; }
270 void doit();
271 bool allow_nested_vm_operations() const { return true; }
272 };
273
274 #ifndef PRODUCT 263 #ifndef PRODUCT
275 class VM_DeoptimizeAll: public VM_Operation { 264 class VM_DeoptimizeAll: public VM_Operation {
276 private: 265 private:
277 KlassHandle _dependee; 266 KlassHandle _dependee;
278 public: 267 public: