public class org.jruby.RubyGC
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jruby.RubyGC
  super_class: java.lang.Object
{
  private static volatile boolean gcDisabled;
    descriptor: Z
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE

  private static volatile boolean stress;
    descriptor: Z
    flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 56
            iconst_0
            putstatic org.jruby.RubyGC.gcDisabled:Z
         1: .line 57
            iconst_0
            putstatic org.jruby.RubyGC.stress:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jruby.RubyGC this
         0: .line 55
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.jruby.RubyGC this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jruby/RubyGC;

  public static org.jruby.RubyModule createGCModule(org.jruby.Ruby);
    descriptor: (Lorg/jruby/Ruby;)Lorg/jruby/RubyModule;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.jruby.Ruby runtime
         0: .line 60
            aload 0 /* runtime */
            ldc "GC"
            invokevirtual org.jruby.Ruby.defineModule:(Ljava/lang/String;)Lorg/jruby/RubyModule;
            astore 1 /* result */
        start local 1 // org.jruby.RubyModule result
         1: .line 61
            aload 0 /* runtime */
            aload 1 /* result */
            invokevirtual org.jruby.Ruby.setGC:(Lorg/jruby/RubyModule;)V
         2: .line 63
            aload 1 /* result */
            ldc Lorg/jruby/RubyGC;
            invokevirtual org.jruby.RubyModule.defineAnnotatedMethods:(Ljava/lang/Class;)V
         3: .line 65
            aload 1 /* result */
            areturn
        end local 1 // org.jruby.RubyModule result
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0  runtime  Lorg/jruby/Ruby;
            1    4     1   result  Lorg/jruby/RubyModule;
    MethodParameters:
         Name  Flags
      runtime  

  public static org.jruby.runtime.builtin.IRubyObject start(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
         0: .line 70
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  context  Lorg/jruby/runtime/ThreadContext;
            0    1     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
         Name  Flags
      context  
      recv     

  public static org.jruby.runtime.builtin.IRubyObject garbage_collect(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
         0: .line 75
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.nil:Lorg/jruby/runtime/builtin/IRubyObject;
            areturn
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  context  Lorg/jruby/runtime/ThreadContext;
            0    1     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod()
    MethodParameters:
         Name  Flags
      context  
      recv     

  public static org.jruby.runtime.builtin.IRubyObject enable(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
         0: .line 80
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            astore 2 /* runtime */
        start local 2 // org.jruby.Ruby runtime
         1: .line 81
            aload 2 /* runtime */
            getstatic org.jruby.common.IRubyWarnings$ID.GC_ENABLE_UNIMPLEMENTED:Lorg/jruby/common/IRubyWarnings$ID;
            ldc "GC.enable"
            invokestatic org.jruby.RubyGC.emptyImplementationWarning:(Lorg/jruby/Ruby;Lorg/jruby/common/IRubyWarnings$ID;Ljava/lang/String;)V
         2: .line 82
            getstatic org.jruby.RubyGC.gcDisabled:Z
            istore 3 /* old */
        start local 3 // boolean old
         3: .line 83
            iconst_0
            putstatic org.jruby.RubyGC.gcDisabled:Z
         4: .line 84
            aload 2 /* runtime */
            iload 3 /* old */
            invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
            areturn
        end local 3 // boolean old
        end local 2 // org.jruby.Ruby runtime
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  context  Lorg/jruby/runtime/ThreadContext;
            0    5     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            1    5     2  runtime  Lorg/jruby/Ruby;
            3    5     3      old  Z
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
         Name  Flags
      context  
      recv     

  public static org.jruby.runtime.builtin.IRubyObject disable(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
         0: .line 89
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            astore 2 /* runtime */
        start local 2 // org.jruby.Ruby runtime
         1: .line 90
            aload 2 /* runtime */
            getstatic org.jruby.common.IRubyWarnings$ID.GC_DISABLE_UNIMPLEMENTED:Lorg/jruby/common/IRubyWarnings$ID;
            ldc "GC.disable"
            invokestatic org.jruby.RubyGC.emptyImplementationWarning:(Lorg/jruby/Ruby;Lorg/jruby/common/IRubyWarnings$ID;Ljava/lang/String;)V
         2: .line 91
            getstatic org.jruby.RubyGC.gcDisabled:Z
            istore 3 /* old */
        start local 3 // boolean old
         3: .line 92
            iconst_1
            putstatic org.jruby.RubyGC.gcDisabled:Z
         4: .line 93
            aload 2 /* runtime */
            iload 3 /* old */
            invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
            areturn
        end local 3 // boolean old
        end local 2 // org.jruby.Ruby runtime
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  context  Lorg/jruby/runtime/ThreadContext;
            0    5     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            1    5     2  runtime  Lorg/jruby/Ruby;
            3    5     3      old  Z
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
         Name  Flags
      context  
      recv     

  public static org.jruby.runtime.builtin.IRubyObject stress(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
         0: .line 98
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            getstatic org.jruby.RubyGC.stress:Z
            invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
            areturn
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  context  Lorg/jruby/runtime/ThreadContext;
            0    1     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
         Name  Flags
      context  
      recv     

  public static org.jruby.runtime.builtin.IRubyObject stress_set(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
        start local 2 // org.jruby.runtime.builtin.IRubyObject arg
         0: .line 103
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            astore 3 /* runtime */
        start local 3 // org.jruby.Ruby runtime
         1: .line 104
            aload 3 /* runtime */
            getstatic org.jruby.common.IRubyWarnings$ID.GC_STRESS_UNIMPLEMENTED:Lorg/jruby/common/IRubyWarnings$ID;
            ldc "GC.stress="
            invokestatic org.jruby.RubyGC.emptyImplementationWarning:(Lorg/jruby/Ruby;Lorg/jruby/common/IRubyWarnings$ID;Ljava/lang/String;)V
         2: .line 105
            aload 2 /* arg */
            invokeinterface org.jruby.runtime.builtin.IRubyObject.isTrue:()Z
            putstatic org.jruby.RubyGC.stress:Z
         3: .line 106
            aload 3 /* runtime */
            getstatic org.jruby.RubyGC.stress:Z
            invokevirtual org.jruby.Ruby.newBoolean:(Z)Lorg/jruby/RubyBoolean;
            areturn
        end local 3 // org.jruby.Ruby runtime
        end local 2 // org.jruby.runtime.builtin.IRubyObject arg
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0  context  Lorg/jruby/runtime/ThreadContext;
            0    4     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            0    4     2      arg  Lorg/jruby/runtime/builtin/IRubyObject;
            1    4     3  runtime  Lorg/jruby/Ruby;
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(name = {"stress="}, module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
         Name  Flags
      context  
      recv     
      arg      

  public static org.jruby.runtime.builtin.IRubyObject count(org.jruby.runtime.ThreadContext, org.jruby.runtime.builtin.IRubyObject);
    descriptor: (Lorg/jruby/runtime/ThreadContext;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.jruby.runtime.ThreadContext context
        start local 1 // org.jruby.runtime.builtin.IRubyObject recv
         0: .line 112
            invokestatic org.jruby.RubyGC.getCollectionCount:()I
            istore 2 /* count */
        start local 2 // int count
         1: .line 113
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            iload 2 /* count */
            invokevirtual org.jruby.Ruby.newFixnum:(I)Lorg/jruby/RubyFixnum;
         2: areturn
        end local 2 // int count
         3: .line 114
      StackMap locals:
      StackMap stack: java.lang.Throwable
            pop
         4: .line 115
            aload 0 /* context */
            getfield org.jruby.runtime.ThreadContext.runtime:Lorg/jruby/Ruby;
            invokestatic org.jruby.RubyFixnum.minus_one:(Lorg/jruby/Ruby;)Lorg/jruby/RubyFixnum;
            areturn
        end local 1 // org.jruby.runtime.builtin.IRubyObject recv
        end local 0 // org.jruby.runtime.ThreadContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  context  Lorg/jruby/runtime/ThreadContext;
            0    5     1     recv  Lorg/jruby/runtime/builtin/IRubyObject;
            1    3     2    count  I
      Exception table:
        from    to  target  type
           0     2       3  Class java.lang.Throwable
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyMethod(module = true, visibility = org.jruby.runtime.Visibility.PRIVATE:Lorg/jruby/runtime/Visibility;)
    MethodParameters:
         Name  Flags
      context  
      recv     

  private static void emptyImplementationWarning(org.jruby.Ruby, org.jruby.common.IRubyWarnings$ID, java.lang.String);
    descriptor: (Lorg/jruby/Ruby;Lorg/jruby/common/IRubyWarnings$ID;Ljava/lang/String;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // org.jruby.Ruby runtime
        start local 1 // org.jruby.common.IRubyWarnings$ID id
        start local 2 // java.lang.String name
         0: .line 120
            aload 0 /* runtime */
            invokevirtual org.jruby.Ruby.getWarnings:()Lorg/jruby/common/RubyWarnings;
            aload 1 /* id */
            new java.lang.StringBuilder
            dup
            aload 2 /* name */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " does nothing on JRuby"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokevirtual org.jruby.common.RubyWarnings.warnOnce:(Lorg/jruby/common/IRubyWarnings$ID;Ljava/lang/String;)V
         1: .line 121
            return
        end local 2 // java.lang.String name
        end local 1 // org.jruby.common.IRubyWarnings$ID id
        end local 0 // org.jruby.Ruby runtime
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    2     0  runtime  Lorg/jruby/Ruby;
            0    2     1       id  Lorg/jruby/common/IRubyWarnings$ID;
            0    2     2     name  Ljava/lang/String;
    MethodParameters:
         Name  Flags
      runtime  
      id       
      name     

  public static int getCollectionCount();
    descriptor: ()I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=0
         0: .line 124
            iconst_0
            istore 0 /* count */
        start local 0 // int count
         1: .line 125
            invokestatic java.lang.management.ManagementFactory.getGarbageCollectorMXBeans:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 2
            goto 4
      StackMap locals: int top java.util.Iterator
      StackMap stack:
         2: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.management.GarbageCollectorMXBean
            astore 1 /* bean */
        start local 1 // java.lang.management.GarbageCollectorMXBean bean
         3: .line 126
            iload 0 /* count */
            i2l
            aload 1 /* bean */
            invokeinterface java.lang.management.GarbageCollectorMXBean.getCollectionCount:()J
            ladd
            l2i
            istore 0 /* count */
        end local 1 // java.lang.management.GarbageCollectorMXBean bean
         4: .line 125
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 128
            iload 0 /* count */
            ireturn
        end local 0 // int count
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            1    6     0  count  I
            3    4     1   bean  Ljava/lang/management/GarbageCollectorMXBean;

  public static long getCollectionTime();
    descriptor: ()J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=4, args_size=0
         0: .line 132
            lconst_0
            lstore 0 /* time */
        start local 0 // long time
         1: .line 133
            invokestatic java.lang.management.ManagementFactory.getGarbageCollectorMXBeans:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 3
            goto 4
      StackMap locals: long top java.util.Iterator
      StackMap stack:
         2: aload 3
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.management.GarbageCollectorMXBean
            astore 2 /* bean */
        start local 2 // java.lang.management.GarbageCollectorMXBean bean
         3: .line 134
            lload 0 /* time */
            aload 2 /* bean */
            invokeinterface java.lang.management.GarbageCollectorMXBean.getCollectionTime:()J
            ladd
            lstore 0 /* time */
        end local 2 // java.lang.management.GarbageCollectorMXBean bean
         4: .line 133
      StackMap locals:
      StackMap stack:
            aload 3
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 2
         5: .line 136
            lload 0 /* time */
            lreturn
        end local 0 // long time
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    6     0  time  J
            3    4     2  bean  Ljava/lang/management/GarbageCollectorMXBean;
}
SourceFile: "RubyGC.java"
InnerClasses:
  public final ID = org.jruby.common.IRubyWarnings$ID of org.jruby.common.IRubyWarnings
    RuntimeVisibleAnnotations: 
      org.jruby.anno.JRubyModule(name = {"GC"})