diff --git a/doc/hotspot-style.html b/doc/hotspot-style.html index a2ffb57e5a3e..362245cd00a4 100644 --- a/doc/hotspot-style.html +++ b/doc/hotspot-style.html @@ -1037,8 +1037,8 @@ running destructors at exit can lead to problems.
Some of the approaches used in HotSpot to avoid dynamic initialization include:
Use the Deferred<T> class template. Add a call
-to its initialization function at an appropriate place during VM
+
Use the DeferredStatic<T> class template. Add
+a call to its initialization function at an appropriate place during VM
initialization. The underlying object is never destroyed.
For objects of class type, use a variable whose value is a
pointer to the class, initialized to nullptr. Provide an
diff --git a/doc/hotspot-style.md b/doc/hotspot-style.md
index c8f0f72b8140..26549e3ca022 100644
--- a/doc/hotspot-style.md
+++ b/doc/hotspot-style.md
@@ -954,7 +954,7 @@ destructors at exit can lead to problems.
Some of the approaches used in HotSpot to avoid dynamic initialization
include:
-* Use the `Deferred