Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/codeBlob.hpp @ 12880:469216acdb28
8023014: CodeSweeperSweepNoFlushTest.java fails with HS crash
Summary: Ensure ensure correct initialization of compiler runtime
Reviewed-by: kvn, twisti
author | anoll |
---|---|
date | Thu, 10 Oct 2013 15:44:12 +0200 |
parents | 9758d9f36299 |
children | 096c224171c4 |
comparison
equal
deleted
inserted
replaced
12876:8b80b262e501 | 12880:469216acdb28 |
---|---|
207 private: | 207 private: |
208 // Creation support | 208 // Creation support |
209 BufferBlob(const char* name, int size); | 209 BufferBlob(const char* name, int size); |
210 BufferBlob(const char* name, int size, CodeBuffer* cb); | 210 BufferBlob(const char* name, int size, CodeBuffer* cb); |
211 | 211 |
212 void* operator new(size_t s, unsigned size) throw(); | 212 void* operator new(size_t s, unsigned size, bool is_critical = false) throw(); |
213 | 213 |
214 public: | 214 public: |
215 // Creation | 215 // Creation |
216 static BufferBlob* create(const char* name, int buffer_size); | 216 static BufferBlob* create(const char* name, int buffer_size); |
217 static BufferBlob* create(const char* name, CodeBuffer* cb); | 217 static BufferBlob* create(const char* name, CodeBuffer* cb); |
251 // MethodHandlesAdapterBlob: used to hold MethodHandles adapters | 251 // MethodHandlesAdapterBlob: used to hold MethodHandles adapters |
252 | 252 |
253 class MethodHandlesAdapterBlob: public BufferBlob { | 253 class MethodHandlesAdapterBlob: public BufferBlob { |
254 private: | 254 private: |
255 MethodHandlesAdapterBlob(int size) : BufferBlob("MethodHandles adapters", size) {} | 255 MethodHandlesAdapterBlob(int size) : BufferBlob("MethodHandles adapters", size) {} |
256 MethodHandlesAdapterBlob(int size, CodeBuffer* cb) : BufferBlob("MethodHandles adapters", size, cb) {} | |
257 | 256 |
258 public: | 257 public: |
259 // Creation | 258 // Creation |
260 static MethodHandlesAdapterBlob* create(int buffer_size); | 259 static MethodHandlesAdapterBlob* create(int buffer_size); |
261 | 260 |