src/share/vm/oops/typeArrayKlass.cpp

changeset 3638
a735aec54ea4
parent 3157
a92cdbac8b9e
child 3682
fc9d8850ab8b
     1.1 --- a/src/share/vm/oops/typeArrayKlass.cpp	Mon Mar 12 15:28:07 2012 -0700
     1.2 +++ b/src/share/vm/oops/typeArrayKlass.cpp	Wed Mar 14 20:06:48 2012 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1997, 2012, 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 @@ -93,6 +93,7 @@
    1.11        return t;
    1.12      } else {
    1.13        report_java_out_of_memory("Requested array size exceeds VM limit");
    1.14 +      JvmtiExport::post_array_size_exhausted();
    1.15        THROW_OOP_0(Universe::out_of_memory_error_array_size());
    1.16      }
    1.17    } else {

mercurial