[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-30 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13645320#comment-13645320 ] Leo Romanoff commented on AVRO-1282: As we discussed in this issue, I created a

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-30 Thread Hudson (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13645921#comment-13645921 ] Hudson commented on AVRO-1282: -- Integrated in AvroJava #369 (See

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-29 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13645054#comment-13645054 ] Scott Carey commented on AVRO-1282: --- I think I simply missed that. I changed it at some

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-29 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13645224#comment-13645224 ] Doug Cutting commented on AVRO-1282: +1 Patch looks good, tests pass, 'Perf -reflect'

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-28 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13643923#comment-13643923 ] Scott Carey commented on AVRO-1282: --- Leo: Using a variation of your

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-28 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13644024#comment-13644024 ] Leo Romanoff commented on AVRO-1282: Scott: I tested with your latest patch and confirm

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-26 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13643421#comment-13643421 ] Scott Carey commented on AVRO-1282: --- I've got this back to using FieldAccessor[], doing

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-26 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13643541#comment-13643541 ] Leo Romanoff commented on AVRO-1282: Scott, this is great! Question: If you index

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641473#comment-13641473 ] Scott Carey commented on AVRO-1282: --- UnsafeUtils is a public class with public static

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641520#comment-13641520 ] Scott Carey commented on AVRO-1282: --- Perf.java is also not working for at least two

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641555#comment-13641555 ] Leo Romanoff commented on AVRO-1282: Hmm. At the moment we use UnsafeUtil only

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641568#comment-13641568 ] Scott Carey commented on AVRO-1282: --- First try with the -U parameter to force it to

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641569#comment-13641569 ] Scott Carey commented on AVRO-1282: --- The below appears to be a bug that assumes every

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641696#comment-13641696 ] Leo Romanoff commented on AVRO-1282: Scott, your Maven advice has helped! I can

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641768#comment-13641768 ] Leo Romanoff commented on AVRO-1282: I think I fixed the issues with IPC tests. They

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641789#comment-13641789 ] Leo Romanoff commented on AVRO-1282: On the bug side, FieldAccessors are no longer

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641792#comment-13641792 ] Leo Romanoff commented on AVRO-1282: I meant this code in ReflectDatumReader: for

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641814#comment-13641814 ] Leo Romanoff commented on AVRO-1282: Perf.java is also not working for at least two

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641962#comment-13641962 ] Scott Carey commented on AVRO-1282: --- I'll have a look at your more recent changes for

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642048#comment-13642048 ] Leo Romanoff commented on AVRO-1282: We probably should not cache any accessors for

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-25 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13642616#comment-13642616 ] Scott Carey commented on AVRO-1282: --- Re: using schema or class as the key: This still

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-24 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13640169#comment-13640169 ] Leo Romanoff commented on AVRO-1282: Interestng. I thought that Systen.arraycopy uses

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-24 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13640712#comment-13640712 ] Leo Romanoff commented on AVRO-1282: I attached a new patch, see description above.

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-24 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13640791#comment-13640791 ] Doug Cutting commented on AVRO-1282: I can't find FieldAcessor in this. Are some files

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-24 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641150#comment-13641150 ] Scott Carey commented on AVRO-1282: --- In practice, nearly all JVMs have Unsafe these days

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-24 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641197#comment-13641197 ] Scott Carey commented on AVRO-1282: --- {code} static Accessor getAccessor(Object o) {

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-24 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13641387#comment-13641387 ] Leo Romanoff commented on AVRO-1282: I don't know if you noticed it, but there is now a

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638830#comment-13638830 ] Leo Romanoff commented on AVRO-1282: @Scott: I don't think that security manager

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638860#comment-13638860 ] Scott Carey commented on AVRO-1282: --- I agree, it is the same solution -- two instances of

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638920#comment-13638920 ] Leo Romanoff commented on AVRO-1282: @Scott: Coming back to your message about reading

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638981#comment-13638981 ] Leo Romanoff commented on AVRO-1282: I did some experiments with Unsafe IO, i.e. I've

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639339#comment-13639339 ] Scott Carey commented on AVRO-1282: --- Yes, ResolvingDecoder is a bottleneck. I have

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13639987#comment-13639987 ] Leo Romanoff commented on AVRO-1282: How much do those improvements help the Generic

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-23 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13640081#comment-13640081 ] Scott Carey commented on AVRO-1282: --- Regarding copying of data into an array on read:

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-22 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638255#comment-13638255 ] Scott Carey commented on AVRO-1282: --- Other frameworks (e.g. Jackson) avoid field access

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-22 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638471#comment-13638471 ] Scott Carey commented on AVRO-1282: --- -1 This appears to break some JVMs by assuming that

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-22 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638507#comment-13638507 ] Scott Carey commented on AVRO-1282: --- Newer IBM JDK's seem to have Unsafe support -- so

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-22 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638523#comment-13638523 ] Scott Carey commented on AVRO-1282: --- I am measuring a 2x to 7x performance increase

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-22 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638527#comment-13638527 ] Scott Carey commented on AVRO-1282: --- Note, my measurements were with all tests active;

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-22 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638548#comment-13638548 ] Scott Carey commented on AVRO-1282: --- After several runs in a row, the Generic performance

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-22 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13638813#comment-13638813 ] Scott Carey commented on AVRO-1282: --- A related issue is what happens when you run under a

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-21 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13637508#comment-13637508 ] Leo Romanoff commented on AVRO-1282: @Doug: Thanks that you confirmed my measurements!

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-19 Thread Scott Carey (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13636589#comment-13636589 ] Scott Carey commented on AVRO-1282: --- I will have a look at this this weekend.

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-19 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13636985#comment-13636985 ] Doug Cutting commented on AVRO-1282: There was a '==' in the patch that I had

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-18 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13635158#comment-13635158 ] Doug Cutting commented on AVRO-1282: Leo, the patch seems to be based off an older

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-18 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13635198#comment-13635198 ] Leo Romanoff commented on AVRO-1282: Doug, I just pulled the latest trunk and applied

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-18 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13635603#comment-13635603 ] Doug Cutting commented on AVRO-1282: A few minor issues with the latest patch. - the

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-18 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13635644#comment-13635644 ] Leo Romanoff commented on AVRO-1282: I'll try to fix all stylistic things tomorrow and

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-17 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13634205#comment-13634205 ] Doug Cutting commented on AVRO-1282: This is looking good. I think FieldAccess.java is

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-17 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13634356#comment-13634356 ] Leo Romanoff commented on AVRO-1282: @Doug: Sorry, I forgot that git needs git diff

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-04-16 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13633048#comment-13633048 ] Doug Cutting commented on AVRO-1282: I don't think we should add an 'accessor' field to

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-03-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612586#comment-13612586 ] Leo Romanoff commented on AVRO-1282: I have implemented an initial version of the

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-03-25 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13612901#comment-13612901 ] Leo Romanoff commented on AVRO-1282: I implemented the optimization that avoids

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-03-22 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13610942#comment-13610942 ] Leo Romanoff commented on AVRO-1282: One thing I'd like to ask is the following: I've

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-03-22 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13611299#comment-13611299 ] Leo Romanoff commented on AVRO-1282: I'm hesitant to add native-byte-order

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-03-22 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13611333#comment-13611333 ] Doug Cutting commented on AVRO-1282: I can see adding a native byte order option that's

[jira] [Commented] (AVRO-1282) Make use of the sun.misc.Unsafe class during serialization if a JDK supports it

2013-03-22 Thread Leo Romanoff (JIRA)
[ https://issues.apache.org/jira/browse/AVRO-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13611449#comment-13611449 ] Leo Romanoff commented on AVRO-1282: Avro uses little-endian for floats, longs and