hotspot/src/share/vm/utilities/exceptions.cpp
changeset 11636 3c07b54482a5
parent 10565 dc90c239f4ec
child 13396 1b2b5f740ee0
--- a/hotspot/src/share/vm/utilities/exceptions.cpp	Wed Feb 01 10:36:58 2012 +0100
+++ b/hotspot/src/share/vm/utilities/exceptions.cpp	Wed Feb 01 07:59:01 2012 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -160,7 +160,7 @@
   thread->set_pending_exception(h_exception(), file, line);
 
   // vm log
-  Events::log("throw_exception " INTPTR_FORMAT, (address)h_exception());
+  Events::log_exception(thread, "Threw " INTPTR_FORMAT " at %s:%d", (address)h_exception(), file, line);
 }