Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support memory footprint requirement in spec #8

Closed
nitsanw opened this issue Apr 17, 2014 · 2 comments
Closed

Support memory footprint requirement in spec #8

nitsanw opened this issue Apr 17, 2014 · 2 comments

Comments

@nitsanw
Copy link
Contributor

nitsanw commented Apr 17, 2014

This is following input from V.Klang (TypeSafe) and P.Ron(P.Universe) where a requirement for a concurrent queue is expressed such that queue memory footprint is minimal even at the risk of false sharing. For JAQ queues we are err in the side of padding, so perhaps have 4 settings: MIN/LOW/HIGH/MAX
In the case of bounded impls this would translate into:
MIN-> no padding
LOW-> pad between P/C fields
HIGH-> pad pre/post class + between P/C fields
MAX-> pad pre/post class + pre/post array + between P/C fields

@nitsanw
Copy link
Contributor Author

nitsanw commented Apr 17, 2015

This relies on code generation as described in #9

@nitsanw
Copy link
Contributor Author

nitsanw commented Sep 14, 2020

Spec is deprecated due to lack of interest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant