Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Conversation

pinepain
Copy link
Member

@pinepain pinepain commented Aug 28, 2016

In this PR new methods added and some internal logic refactored

In this PR:

  • add V8\AdjustableExternalMemoryInterface interface;
  • add V8\ObjectValue::AdjustExternalAllocatedMemory() method;
  • add V8\ObjectValue::GetExternalAllocatedMemory() method;
  • add V8\FunctionTemplate::AdjustExternalAllocatedMemory() method;
  • add V8\FunctionTemplate::GetExternalAllocatedMemory() method;
  • add V8\ObjectTemplate::AdjustExternalAllocatedMemory() method;
  • add V8\ObjectTemplate::GetExternalAllocatedMemory() method;
  • rewrite callbacks structures to use std containers;
  • use realistic external allocated memory value to notify isolate about based on callbacks structures size and optionally specified by user value.

@pinepain pinepain merged commit 53931b5 into master Aug 30, 2016
@pinepain pinepain deleted the external_memory branch August 30, 2016 06:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant