Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciReplay.cpp @ 7185:90273fc0a981
8000662: NPG: nashorn ant clean test262 out-of-memory with Java heap
Summary: Add ClassLoaderData object for each anonymous class with metaspaces to allocate in.
Reviewed-by: twisti, jrose, stefank
author | coleenp |
---|---|
date | Thu, 29 Nov 2012 16:50:29 -0500 |
parents | bd7a7ce2e264 |
children | 203f64878aab db9981fd3124 |
comparison
equal
deleted
inserted
replaced
7181:2fc0334f613a | 7185:90273fc0a981 |
---|---|
29 #include "memory/allocation.inline.hpp" | 29 #include "memory/allocation.inline.hpp" |
30 #include "memory/oopFactory.hpp" | 30 #include "memory/oopFactory.hpp" |
31 #include "memory/resourceArea.hpp" | 31 #include "memory/resourceArea.hpp" |
32 #include "utilities/copy.hpp" | 32 #include "utilities/copy.hpp" |
33 | 33 |
34 #ifdef ASSERT | 34 #ifndef PRODUCT |
35 | 35 |
36 // ciReplay | 36 // ciReplay |
37 | 37 |
38 typedef struct _ciMethodDataRecord { | 38 typedef struct _ciMethodDataRecord { |
39 const char* klass; | 39 const char* klass; |
937 ResourceMark rm; | 937 ResourceMark rm; |
938 | 938 |
939 ciMethodRecord* rec = replay_state->find_ciMethodRecord(method); | 939 ciMethodRecord* rec = replay_state->find_ciMethodRecord(method); |
940 return rec != NULL; | 940 return rec != NULL; |
941 } | 941 } |
942 #endif | 942 #endif // PRODUCT |