diff src/share/vm/runtime/java.cpp @ 2129:8f8dfba37802

6994753: Implement optional hook to a Java method at VM startup. Reviewed-by: mchung, acorn
author kevinw
date Wed, 12 Jan 2011 15:44:16 +0000
parents 0eb90baf1b69
children 3582bf76420e
line wrap: on
line diff
--- a/src/share/vm/runtime/java.cpp	Tue Jan 11 17:50:26 2011 -0500
+++ b/src/share/vm/runtime/java.cpp	Wed Jan 12 15:44:16 2011 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2011, 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
@@ -663,7 +663,8 @@
     }
     _current = JDK_Version(major, minor, micro, info.update_version,
                            info.special_update_version, build,
-                           info.thread_park_blocker == 1);
+                           info.thread_park_blocker == 1,
+                           info.post_vm_init_hook_enabled == 1);
   }
 }