escargot/src/parser
Seonghyun Kim caa0fbc3fe Implement compress CompressibleStrings on GC reclaim end event
* Compress CompressibleStrings on GC reclaim end event
  - if there is reference about data of CompressibleString on stack, we should give up compressing.
    we don't need to search heap space because I redesigned StringView
    (we should not store string buffer data on heap without owner)
* Redesign StringView
  - Don't save string buffer address as its member. because buffer of CompressibleString can be deleted
  - If we don't save string buffer address on StringView, parser performance may dropped.
    becuase parser access string data a lot.
    so I introduce ParserStringView. it saves buffer address. we should ParserStringView on parser only.
    we can save string buffer address while parsing. because GC is disabled while parsing.

* Enable CompressibleString always
* Implement cache of RegExpOptionStrings
* Implement finding system locale function on RuntimeICUBinder avoiding call uloc_getDefault.

Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
2020-01-10 17:37:00 +09:00
..
ast Reduce memory usage 2019-12-24 14:38:09 +09:00
esprima_cpp Implement compress CompressibleStrings on GC reclaim end event 2020-01-10 17:37:00 +09:00
ASTAllocator.cpp Replace NodeVector by LinkedList 2019-11-05 13:04:13 +09:00
ASTAllocator.h Replace NodeVector by LinkedList 2019-11-05 13:04:13 +09:00
ASTBuilder.h Implement compress CompressibleStrings on GC reclaim end event 2020-01-10 17:37:00 +09:00
CodeBlock.cpp Treat function parameter initialization area as first lexical block 2019-12-10 15:43:52 +09:00
CodeBlock.h Reduce memory usage 2019-12-18 11:11:26 +09:00
Lexer.cpp Implement compress CompressibleStrings on GC reclaim end event 2020-01-10 17:37:00 +09:00
Lexer.h Implement compress CompressibleStrings on GC reclaim end event 2020-01-10 17:37:00 +09:00
ParserStringView.h Implement compress CompressibleStrings on GC reclaim end event 2020-01-10 17:37:00 +09:00
Script.cpp Reduce memory usage 2019-12-24 14:38:09 +09:00
Script.h Optmize escargot (#454) 2019-10-11 15:32:04 +09:00
ScriptParser.cpp Treat function parameter initialization area as first lexical block 2019-12-10 15:43:52 +09:00
ScriptParser.h Update to support new.target with Class and eval (#489) 2019-10-31 13:38:49 +09:00