Sign in
chromium
/
external
/
github.com
/
v8
/
node
/
refs/heads/fuchsia
/
.
/
test
/
parallel
/
test-common-gc.js
blob: 96dc7e2e7b601deeff6bec4c1f53bad28a707488 [
file
] [
log
] [
blame
] [
edit
]
'use strict'
;
// Flags: --expose-gc
const
common
=
require
(
'../common'
);
const
onGC
=
require
(
'../common/ongc'
);
{
onGC
({},
{
ongc
:
common
.
mustCall
()
});
global
.
gc
();
}
{
onGC
(
process
,
{
ongc
:
common
.
mustNotCall
()
});
global
.
gc
();
}