mini_racer/lib
Jean Rouge 42475db467 Making it possible to set V8 runtime flags
Only caveat: such flags can only be set before the V8 platform gets initialized.

Comes in handy to deactivate for example V8's aggressive use of `pthread` which
somehow seems to not play too nice with Unicorn:

```
MiniRacer::Platform.set_flag! '--noconcurrent_recompilation'
MiniRacer::Platform.set_flag! '--noconcurrent_sweeping'
```

Also protecting the platform initialization with a mutex, not sure
how/why current concurrent tests never seem to hit bugs without that mutex.

Added just one test on the new `MiniRacer::Platform.set_flag!` method, and
unsure how to make other tests without making tests run in order (bad),
given that flags can only be set before anything else is done.
2016-06-22 13:36:57 -07:00
..
mini_racer version bump 2016-06-15 11:23:41 +10:00
mini_racer.rb Making it possible to set V8 runtime flags 2016-06-22 13:36:57 -07:00