Skip to content
Permalink
Browse files
Add some missing WTF_MAKE_FAST_ALLOCATED in JavaScriptCore.
<https://webkit.org/b/153335>

Reviewed by Alex Christensen.

Saw these things getting system malloc()'ed in an Instruments trace.

* inspector/InspectorAgentBase.h:
* jit/CallFrameShuffleData.h:
* jit/CallFrameShuffler.h:
* jit/RegisterAtOffsetList.h:
* runtime/GenericOffset.h:


Canonical link: https://commits.webkit.org/171406@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Andreas Kling committed Jan 22, 2016
1 parent c4a10ac commit aaf0d69cf1f1989ffd49b5a9279360668a70bb9f
@@ -1,3 +1,18 @@
2016-01-21 Andreas Kling <akling@apple.com>

Add some missing WTF_MAKE_FAST_ALLOCATED in JavaScriptCore.
<https://webkit.org/b/153335>

Reviewed by Alex Christensen.

Saw these things getting system malloc()'ed in an Instruments trace.

* inspector/InspectorAgentBase.h:
* jit/CallFrameShuffleData.h:
* jit/CallFrameShuffler.h:
* jit/RegisterAtOffsetList.h:
* runtime/GenericOffset.h:

2016-01-21 Yusuke Suzuki <utatane.tea@gmail.com>

[ES6] Catch parameter should accept BindingPattern
@@ -63,6 +63,7 @@ enum class DisconnectReason {
};

class InspectorAgentBase {
WTF_MAKE_FAST_ALLOCATED;
public:
virtual ~InspectorAgentBase() { }

@@ -34,6 +34,8 @@
namespace JSC {

struct CallFrameShuffleData {
WTF_MAKE_FAST_ALLOCATED;
public:
unsigned numLocals;
ValueRecovery callee;
Vector<ValueRecovery> args;
@@ -38,6 +38,7 @@
namespace JSC {

class CallFrameShuffler {
WTF_MAKE_FAST_ALLOCATED;
public:
CallFrameShuffler(CCallHelpers&, const CallFrameShuffleData&);

@@ -34,6 +34,7 @@
namespace JSC {

class RegisterAtOffsetList {
WTF_MAKE_FAST_ALLOCATED;
public:
enum OffsetBaseType { FramePointerBased, ZeroBased };

@@ -34,6 +34,7 @@ namespace JSC {
// A mixin for creating the various kinds of variable offsets that our engine supports.
template<typename T>
class GenericOffset {
WTF_MAKE_FAST_ALLOCATED;
public:
static const unsigned invalidOffset = UINT_MAX;

0 comments on commit aaf0d69

Please sign in to comment.