Sha256: fa90e769a5b6ba43e00adee1336baa456fa84829fef38aa33fb9108a0772cfd8

Contents?: true

Size: 1.36 KB

Versions: 12

Compression:

Stored size: 1.36 KB

Contents

o:$YARD::CodeObjects::MethodObject:@scope:
class:@visibility:public:
@pathI"GC.stress=:EF:@parameters[:@files[[I"	gc.c;T0:@current_file_has_commentsF:
@name:stress=:@source_type:c:
@tags[:@docstringIC:YARD::Docstring"±updates GC stress mode.

When GC.stress = true, GC is invoked for all GC opportunity:
all memory and object allocation.

Since it makes Ruby very slow, it is only for debugging.;F:@objectIu:YARD::StubProxyGC.stress=;F:
@summary0:@ref_tags[;[o:YARD::Tags::OverloadTag
:@tag_nameI"
overload;F:
@text0;;:@types0:@signatureI"stress=(bool);F;IC;";F;Iu;GC.stress=;F;0;[;[:	@allI";F;[[:	bool0;Iu;GC.stress=;F;I"Ëupdates GC stress mode.

When GC.stress = true, GC is invoked for all GC opportunity:
all memory and object allocation.

Since it makes Ruby very slow, it is only for debugging.


@overload stress=(bool);F:@namespaceIu;GC;F:@docstring_extra0:@sourceI"®/*
 *  call-seq:
 *    GC.stress = bool          -> bool
 *
 *  updates GC stress mode.
 *
 *  When GC.stress = true, GC is invoked for all GC opportunity:
 *  all memory and object allocation.
 *
 *  Since it makes Ruby very slow, it is only for debugging.
 */

static VALUE
gc_stress_set(VALUE self, VALUE flag)
{
    rb_objspace_t *objspace = &rb_objspace;
    rb_secure(2);
    ruby_gc_stress = RTEST(flag);
    return flag;
};F

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_19/objects/GC/stress_3D_c.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_19/objects/GC/stress_3D_c.dat