src/share/vm/utilities/exceptions.cpp

changeset 3499
aa3d708d67c4
parent 3156
f08d439fab8c
child 3974
93c71eb28866
     1.1 --- a/src/share/vm/utilities/exceptions.cpp	Wed Feb 01 10:36:58 2012 +0100
     1.2 +++ b/src/share/vm/utilities/exceptions.cpp	Wed Feb 01 07:59:01 2012 -0800
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1998, 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 @@ -160,7 +160,7 @@
    1.11    thread->set_pending_exception(h_exception(), file, line);
    1.12  
    1.13    // vm log
    1.14 -  Events::log("throw_exception " INTPTR_FORMAT, (address)h_exception());
    1.15 +  Events::log_exception(thread, "Threw " INTPTR_FORMAT " at %s:%d", (address)h_exception(), file, line);
    1.16  }
    1.17  
    1.18  

mercurial