comparison src/share/vm/asm/codeBuffer.hpp @ 5820:87ee5ee27509

Added tag jdk8-b132 for changeset 0c94c41dcd70
author katleman
date Tue, 04 Mar 2014 11:51:03 -0800
parents a5de0cc2f91c
children
comparison
equal deleted inserted replaced
24:9a37f12de5bb 25:36b176b8c6e9
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
294 294
295 private: 295 private:
296 // CodeBuffers must be allocated on the stack except for a single 296 // CodeBuffers must be allocated on the stack except for a single
297 // special case during expansion which is handled internally. This 297 // special case during expansion which is handled internally. This
298 // is done to guarantee proper cleanup of resources. 298 // is done to guarantee proper cleanup of resources.
299 void* operator new(size_t size) { return ResourceObj::operator new(size); } 299 void* operator new(size_t size) throw() { return ResourceObj::operator new(size); }
300 void operator delete(void* p) { ShouldNotCallThis(); } 300 void operator delete(void* p) { ShouldNotCallThis(); }
301 301
302 public: 302 public:
303 typedef int csize_t; // code size type; would be size_t except for history 303 typedef int csize_t; // code size type; would be size_t except for history
304 enum { 304 enum {
305 // Here is the list of all possible sections. The order reflects 305 // Here is the list of all possible sections. The order reflects