Changeset 223222 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Oct 11, 2017, 5:53:45 PM (8 years ago)
Author:
[email protected]
Message:

Runtime disable poly proto because it may be a 3-4% Speedometer regression
https://bugs.webkit.org/show_bug.cgi?id=178192

Reviewed by JF Bastien.

Source/JavaScriptCore:

  • runtime/Options.h:
  • runtime/StructureInlines.h:

(JSC::Structure::shouldConvertToPolyProto):

Tools:

  • Scripts/run-jsc-stress-tests:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r223202 r223222  
     12017-10-11  Saam Barati  <[email protected]>
     2
     3        Runtime disable poly proto because it may be a 3-4% Speedometer regression
     4        https://bugs.webkit.org/show_bug.cgi?id=178192
     5
     6        Reviewed by JF Bastien.
     7
     8        * runtime/Options.h:
     9        * runtime/StructureInlines.h:
     10        (JSC::Structure::shouldConvertToPolyProto):
     11
    1122017-10-11  Commit Queue  <[email protected]>
    213
  • trunk/Source/JavaScriptCore/runtime/Options.h

    r223047 r223222  
    474474    v(bool, useObjectRestSpread, true, Normal, "If true, we will enable Object Rest/Spread feature.") \
    475475    v(bool, useArrayAllocationProfiling, true, Normal, "If true, we will use our normal array allocation profiling. If false, the allocation profile will always claim to be undecided.")\
     476    v(bool, usePolyProto, false, Normal, "If true, we may convert allocations to generate poly proto structures.") \
    476477    v(bool, forcePolyProto, false, Normal, "If true, create_this will always create an object with a poly proto structure.")
    477478
  • trunk/Source/JavaScriptCore/runtime/StructureInlines.h

    r222827 r223222  
    448448ALWAYS_INLINE bool Structure::shouldConvertToPolyProto(const Structure* a, const Structure* b)
    449449{
     450    if (!Options::usePolyProto())
     451        return false;
     452
    450453    if (!a || !b)
    451454        return false;
Note: See TracChangeset for help on using the changeset viewer.