From 815f1ed417bd26fbe2abbdf20ac5d3423b30796c Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 23 Jul 2012 09:28:44 +0200 Subject: Imported WebKit commit e65cbc5b6ac32627c797e7fc7f46eb7794410c92 (http://svn.webkit.org/repository/webkit/trunk@123308) New snapshot with better configure tests --- Source/JavaScriptCore/runtime/Structure.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Source/JavaScriptCore/runtime/Structure.h') diff --git a/Source/JavaScriptCore/runtime/Structure.h b/Source/JavaScriptCore/runtime/Structure.h index d2d025b98..712ea6bb5 100644 --- a/Source/JavaScriptCore/runtime/Structure.h +++ b/Source/JavaScriptCore/runtime/Structure.h @@ -53,6 +53,15 @@ namespace JSC { class SlotVisitor; class JSString; + // The out-of-line property storage capacity to use when first allocating out-of-line + // storage. Note that all objects start out without having any out-of-line storage; + // this comes into play only on the first property store that exhausts inline storage. + static const unsigned initialOutOfLineCapacity = 4; + + // The factor by which to grow out-of-line storage when it is exhausted, after the + // initial allocation. + static const unsigned outOfLineGrowthFactor = 2; + class Structure : public JSCell { public: friend class StructureTransitionTable; -- cgit v1.2.1