History log of /art/runtime/jdwp/jdwp_socket.cc
Revision Date Author Comments
d817560c697508df0d941071c8e96152c9404def 26-Jan-2016 Roland Levillain <rpl@google.com> Fix non-Linux builds.

Do no expose a constant only used in Linux builds in
runtime/jdwp/jdwp_socket.cc.

Change-Id: I0f1de4fd36a9013b46b1393ea0cded41bae2b751
3cbad24f0ee3639ac2ce2d06d61e97386df6f94b 25-Jan-2016 Roland Levillain <rpl@google.com> 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
15f9b27adf1e1eb64a42d872f88e95ba637ce775 21-Jan-2016 Roland Levillain <rpl@google.com> Improves recent changes to art::JDWP::JdwpSocketState::Establish.

(This is a follow-up CL to
https://android-review.googlesource.com/#/c/197630.)

Capture the size of the work buffer passed to
gethostbyname_r in a constant and document it.

Also wrap long lines in runtime/jdwp/jdwp_socket.cc.

Change-Id: Ieb0694c56611a491c5f949ce8ed22ab3795f1883
0502c4467fde37469daf24526dd5ff6fd1c71708 21-Jan-2016 Roland Levillain <rpl@google.com> Fix JDWP host tests on Trusty.

The buffer passed by art::JDWP::JdwpSocketState::Establish
to gethostbyname_r on Trusty was too small, leading to the
following error message during JDWP host testing:

art/runtime/jdwp/jdwp_socket.cc:283] gethostbyname_r('localhost') failed: Resolver internal error

This CL doubles the size of this buffer to avoid this
failure.

Change-Id: Ie7bb1ea8c755d869f2cc50cc2f6cc82828499706
aa50d3a01a4137cd89c152be5487fed23683d0ff 25-Aug-2015 Sebastien Hertz <shertz@google.com> Add missing field init in constructors

Adds missing field initializations detected by Eclipse IDE.

Change-Id: I5f2f32bcccb12545fc9f0b42fcec74a23dc81376
7d95565c84d91ae5dcec4b89728ada208633de0c 22-Oct-2014 Sebastien Hertz <shertz@google.com> Cleanup JDWP event matching

* Use std::vector for the event match list.
* Make event reporting methods void since result is never used.
* Use nullptr keyword instead of NULL.

Change-Id: Icd6f47e46cefc2cc63325df00037cd4b6a475259
ec17f98e7a4efecc93a7d75fd17d5b45cf1576fa 13-Nov-2014 Yabin Cui <yabinc@google.com> kill HAVE_GETHOSTBYNAME_R

Bug: 18363225
Change-Id: I71a62235db14412d2471f20ea663beb7df7326cd
277ccbd200ea43590dfc06a93ae184a765327ad0 04-Nov-2014 Andreas Gampe <agampe@google.com> ART: More warnings

Enable -Wno-conversion-null, -Wredundant-decls and -Wshadow in general,
and -Wunused-but-set-parameter for GCC builds.

Change-Id: I81bbdd762213444673c65d85edae594a523836e5
4d466a8e4587422c989705dce3b2a19e7f0137f5 09-May-2014 Brian Carlstrom <bdc@google.com> Remove all LOG(DEBUG) which is not intended to be checked in

Bug: 14632493
Change-Id: Id9da8b87798af0a1b2bd2c178133e5f1ba47d43d
4274889d48ef82369bf2c1ca70d84689b4f9e93a 19-Jul-2013 Brian Carlstrom <bdc@google.com> Fixing cpplint readability/check issues

Change-Id: Ia81db7238b4a13ff2e585aaac9d5e3e91df1e3e0
93ba893c20532990a430741e0a97212900094e8c 18-Jul-2013 Brian Carlstrom <bdc@google.com> Fix cpplint runtime/explicit issues

Change-Id: I352ba0b427f1ff9b22887693952b180eae0839ba
7940e44f4517de5e2634a7e07d58d0fb26160513 12-Jul-2013 Brian Carlstrom <bdc@google.com> Create separate Android.mk for main build targets

The runtime, compiler, dex2oat, and oatdump now are in seperate trees
to prevent dependency creep. They can now be individually built
without rebuilding the rest of the art projects. dalvikvm and jdwpspy
were already this way. Builds in the art directory should behave as
before, building everything including tests.

Change-Id: Ic6b1151e5ed0f823c3dd301afd2b13eb2d8feb81