src/share/vm/code/codeBlob.cpp

changeset 5614
9758d9f36299
parent 4952
a7fb14888912
child 5919
469216acdb28
     1.1 --- a/src/share/vm/code/codeBlob.cpp	Thu Aug 29 21:46:09 2013 +0200
     1.2 +++ b/src/share/vm/code/codeBlob.cpp	Thu Aug 29 18:56:29 2013 -0400
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -245,7 +245,7 @@
    1.11  }
    1.12  
    1.13  
    1.14 -void* BufferBlob::operator new(size_t s, unsigned size) {
    1.15 +void* BufferBlob::operator new(size_t s, unsigned size) throw() {
    1.16    void* p = CodeCache::allocate(size);
    1.17    return p;
    1.18  }
    1.19 @@ -347,14 +347,14 @@
    1.20  }
    1.21  
    1.22  
    1.23 -void* RuntimeStub::operator new(size_t s, unsigned size) {
    1.24 +void* RuntimeStub::operator new(size_t s, unsigned size) throw() {
    1.25    void* p = CodeCache::allocate(size, true);
    1.26    if (!p) fatal("Initial size of CodeCache is too small");
    1.27    return p;
    1.28  }
    1.29  
    1.30  // operator new shared by all singletons:
    1.31 -void* SingletonBlob::operator new(size_t s, unsigned size) {
    1.32 +void* SingletonBlob::operator new(size_t s, unsigned size) throw() {
    1.33    void* p = CodeCache::allocate(size, true);
    1.34    if (!p) fatal("Initial size of CodeCache is too small");
    1.35    return p;

mercurial