commit | 3cbad24f0ee3639ac2ce2d06d61e97386df6f94b | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Mon Jan 25 19:17:14 2016 +0000 |
committer | Roland Levillain <rpl@google.com> | Mon Jan 25 19:17:14 2016 +0000 |
tree | 345a3fad81306e946708a3bbb68708a4c69fa3a6 | |
parent | 6a75b9e1f3d8f0703f29db12eed532867e210def [diff] |
Improve gethostbyname_r use in art::JDWP::JdwpSocketState::Establish. Try a range of values for the work buffer size, instead of using a fixed size. Also, turn a couple of constants defined as macros into constexprs. Change-Id: I2354bfb51935bb0cad775c13d6cae06902b4a934