Skip to content

Instantly share code, notes, and snippets.

@hotsphink
hotsphink / text.txt
Created May 29, 2019 18:48
mkgist-created gist
enqueueMark(obj|string)
Add an object to the queue of objects to mark at the beginning every GC. (Note
that the objects will actually be marked at the beginning of every slice, but
after the first slice they will already be marked so nothing will happen.)
Instead of an object, a few magic strings may be used:
'yield' - cause the current marking slice to end, as if the mark budget were
exceeded.
'enter-weak-marking-mode' - divide the list into two segments. The items after
this string will not be marked until we enter weak marking mode. Note that weak
@hotsphink
hotsphink / text.txt
Created May 24, 2019 19:34
mkgist-created gist
ac_add_options --enable-project=js
ac_add_options --enable-optimize
ac_add_options --enable-debug
ac_add_options --enable-js-shell
mk_add_options MOZ_MAKE_FLAGS="-j8 -s"
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-js
@hotsphink
hotsphink / text.txt
Created May 21, 2019 21:14
mkgist-created gist
#482452 = Marking.cpp:void js::TenuringTracer::traceObject(JSString**)::<lambda(auto:27)> [with auto:27 = JSString**]
#482370 = JS::PropertyKey js::TenuringTracer::traverse(JSString*)::<lambda(auto:26)> [with auto:26 = JSString*; T = JS::PropertyKey]
#480678 = JS::Value js::TenuringTracer::traverse(JSString*)::<lambda(auto:26)> [with auto:26 = JSString*; T = JS::Value]
#452904 = void js::gc::TraceEdgeInternal(JSTracer*, JSString**, int8*) [with T = JSString*]
#478263 = void js::gc::StoreBuffer::CellPtrEdge::trace(js::TenuringTracer*) const
@hotsphink
hotsphink / tc39-69th-meeting-summary.md
Last active September 30, 2023 03:39 — forked from codehag/tc39-69th-meeting-summary.md
TC39 69th Meeting Summary

Summary:

  • Quite a bit of work on string methods and promise methods.
  • temporal is now blocked on standard modules, adding pressure to do that
  • dynamic import will move to stage 4 if all goes well with realms?
  • Decorators minimal proposal with built in decorators was presented
  • Decorators were also presented as a solution for numeric separators / literals

Stuff we are interested in or working on:

  • WeakRefs was discussed, and agreed to not be optional? It will also not be a systems object
  • Date.parse has not moved forward due to trying to standardize implementation specific behavior.
@hotsphink
hotsphink / Pernosco-UI.jpg
Last active May 14, 2019 04:33
Pernosco UI
Pernosco-UI.jpg
@hotsphink
hotsphink / text.txt
Created May 14, 2019 04:31
Pernosco UI
How I see the Pernosco UI
@hotsphink
hotsphink / text.txt
Created May 7, 2019 06:02
mkgist-created gist
length 26 route found:
#59397 = void js::gc::GCRuntime::collect(uint8, js::SliceBudget, int32)
#59379 = uint32 js::gc::GCRuntime::gcCycle(uint8, js::SliceBudget, int32)
#59354 = void js::gc::GCRuntime::incrementalSlice(js::SliceBudget*, int32, js::gc::AutoGCSession*)
#59347 = void js::gc::GCRuntime::pushZealSelectedObjects()
#4488 = void js::TraceManuallyBarrieredEdge(JSTracer*, JSObject**, int8*) [with T = JSObject*]
#11194 = void js::gc::TraceEdgeInternal(JSTracer*, JSObject**, int8*) [with T = JSObject*]
#60071 = void js::TenuringTracer::traverse(JSObject**) [with T = JSObject]
#60074 = JSObject* js::TenuringTracer::moveToTenuredSlow(JSObject*)
#60102 = uint64 js::TenuringTracer::moveElementsToTenured(js::NativeObject*, js::NativeObject*, uint8)
@hotsphink
hotsphink / js.xz
Last active March 21, 2019 23:43
rr test case
This file has been truncated, but you can view the full file.
@hotsphink
hotsphink / text.txt
Created March 6, 2019 00:52
mkgist-created gist
@ 535582:799fe024c000 sfink tip nonunified fix
o 535581:75cdbef5dd91 sfink Split mark stack into black and gray, fix weakmap marking to push gray during black
o 535580:48ffdc88670d sfink Flailing with debugging: marking order
o 535579:d1721198d079 sfink Dump log when crashing due to WM assert
o 535578:686877d224f5 sfink do not insert CCWs
o 535577:a4389b5732dd sfink Bug 1167452 - Incrementalize weakmap marking
o 535576:6b871334f96d sfink Bug 1167452 - Prevent barriers from firing during tracing, refactor a little.
o 535575:1b6746680de8 sfink Bug 1167452 - Split out nursery weak keys from tenured weak keys
o 535574:4ccacc1753e7 sfink Bug 1167452 - Move gcWeakKeys from zone to compartment.
o 535573:f364d07002b5 sfink Bug 1167452 - Implement isMarked, IsForwarded, and Forwarded for GCCellPtr
@hotsphink
hotsphink / text.txt
Created March 1, 2019 20:52
mkgist-created gist
hello planet