On Dec 10, 2008, at 11:47 AM, Attila Szegedi wrote:

permgen exhaustion - script.exec() will create new instances of that single class. You can also have a pre-created "standard" scope with initStandardObjects() run in it, seal it (so it's read-only)


Does sealing it increase performance? In other words, if I don't seal the the scope since I am only running trusted scripts and I might actually want to add something to the shared scope, is it a detriment to performance? If it is better performing to seal, I would seal it.

thanks,
-Rob

_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to