equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
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); |
212 void* operator new(size_t s, unsigned size) 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); |
281 int frame_size, |
281 int frame_size, |
282 OopMapSet* oop_maps, |
282 OopMapSet* oop_maps, |
283 bool caller_must_gc_arguments |
283 bool caller_must_gc_arguments |
284 ); |
284 ); |
285 |
285 |
286 void* operator new(size_t s, unsigned size); |
286 void* operator new(size_t s, unsigned size) throw(); |
287 |
287 |
288 public: |
288 public: |
289 // Creation |
289 // Creation |
290 static RuntimeStub* new_runtime_stub( |
290 static RuntimeStub* new_runtime_stub( |
291 const char* stub_name, |
291 const char* stub_name, |
319 |
319 |
320 class SingletonBlob: public CodeBlob { |
320 class SingletonBlob: public CodeBlob { |
321 friend class VMStructs; |
321 friend class VMStructs; |
322 |
322 |
323 protected: |
323 protected: |
324 void* operator new(size_t s, unsigned size); |
324 void* operator new(size_t s, unsigned size) throw(); |
325 |
325 |
326 public: |
326 public: |
327 SingletonBlob( |
327 SingletonBlob( |
328 const char* name, |
328 const char* name, |
329 CodeBuffer* cb, |
329 CodeBuffer* cb, |