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

Bug in ReflectionSizeOf #21

Closed
ljacomet opened this issue Feb 28, 2014 · 0 comments
Closed

Bug in ReflectionSizeOf #21

ljacomet opened this issue Feb 28, 2014 · 0 comments
Labels
Milestone

Comments

@ljacomet
Copy link
Member

ReflectionSizeOf has an alignment bug, which can be seen while running JDK 1.6.0 > v60 for test SizeOfTest.
It looks like the per-class alignment needs to be done not using the pointer size but using the primitive type reference size.

@ljacomet ljacomet added the bug label Feb 28, 2014
@chrisdennis chrisdennis self-assigned this Mar 3, 2014
chrisdennis added a commit to chrisdennis/sizeof that referenced this issue Mar 3, 2014
chrisdennis added a commit to chrisdennis/sizeof that referenced this issue Mar 3, 2014
ljacomet added a commit that referenced this issue Mar 3, 2014
Fixes and test coverage for Issue #21
@alexsnaps alexsnaps modified the milestone: v0.2.0 Mar 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants