fix doc for fq -allReady (#4310)
authorMaoni Stephens <Maoni0@users.noreply.github.com>
Wed, 11 Oct 2023 02:11:08 +0000 (19:11 -0700)
committerGitHub <noreply@github.com>
Wed, 11 Oct 2023 02:11:08 +0000 (19:11 -0700)
fixing some incorrect info for the explaination of the -allReady arg for the !fq cmd.

src/SOS/Strike/sosdocs.txt
src/SOS/Strike/sosdocsunix.txt

index 80ec24642f949786344a1a130fa15d2df88e3658..0d424296be6f38688d9ccae93d7410ea68b59836 100644 (file)
@@ -682,10 +682,16 @@ The arguments in detail:
 
 -allReady Specifying this argument will allow for the display of all objects 
           that are ready for finalization, whether they are already marked by 
-          the GC as such, or whether the next GC will.  The objects that are 
-          not in the "Ready for finalization" list are finalizable objects that 
-          are no longer rooted.  This option can be very expensive, as it 
-          verifies whether all the objects in the finalizable queues are still 
+          the GC as such or not. The former means GC already put them in the 
+          "Ready for finalization" list and their finalizers are ready to run
+          but haven't run yet. The latter means there is nothing holding onto
+          these objects but GC hasn't noticed it yet because a GC that collects
+          the generation this object lives in has not happened yet. When that
+          GC happens, this object will be moved to the "Ready for finalization"
+          list. For example, if a finalizable object lives in gen2 and a gen2 GC
+          has not happened, even if it's displayed by -allReady it's not actually
+          ready for finalization. This option can be very expensive, as it 
+          verifies whether all the objects in the finalizable queues are still
           rooted or not.
 -short    Limits the output to just the address of each object.  If used in 
           conjunction with -allReady it enumerates all objects that have a 
index b554a9479aefa163b0fd829ec4502e37eee34db6..d8cb6c21162752196f2f6882460350fc733e3707 100644 (file)
@@ -547,10 +547,16 @@ The arguments in detail:
 
 -allReady Specifying this argument will allow for the display of all objects 
           that are ready for finalization, whether they are already marked by 
-          the GC as such, or whether the next GC will.  The objects that are 
-          not in the "Ready for finalization" list are finalizable objects that 
-          are no longer rooted.  This option can be very expensive, as it 
-          verifies whether all the objects in the finalizable queues are still 
+          the GC as such or not. The former means GC already put them in the 
+          "Ready for finalization" list and their finalizers are ready to run
+          but haven't run yet. The latter means there is nothing holding onto
+          these objects but GC hasn't noticed it yet because a GC that collects
+          the generation this object lives in has not happened yet. When that
+          GC happens, this object will be moved to the "Ready for finalization"
+          list. For example, if a finalizable object lives in gen2 and a gen2 GC
+          has not happened, even if it's displayed by -allReady it's not actually
+          ready for finalization. This option can be very expensive, as it 
+          verifies whether all the objects in the finalizable queues are still
           rooted or not.
 -short    Limits the output to just the address of each object.  If used in 
           conjunction with -allReady it enumerates all objects that have a