Request for review 7170638: Use DTRACE_PROBE[N] in JNI Set and SetStatic Field.
Mark Wielaard
mjw at redhat.com
Wed Oct 3 05:48:30 PDT 2012
On Wed, 2012-10-03 at 22:18 +1000, David Holmes wrote:
> If OPENJDK is set it should only ever be set to true. The
> jdk/make/common/Defs.gmk file (as used by the top-level build) will set
> it to true if the closed sources are not found:
> [...]
> Hotspot will default to a non-OPENJDK build unless OPENJDK has been set
> to true, but that only potentially changes the set of sources that will
> be built - if you don't have src/closed or make/closed repos then there
> is no difference between the two builds. Unfortunately Coleen's change
> in dtrace.make requires that OPENJDK be explicitly set to enable the SDT
> probes.
Aha. So the jdk tree and the hotspot tree don't use the same default
value for OPENJDK if not set. That explains why the builds seemed to
work fine for the jdk part (where OPENJDK is defined to true by
default), but doesn't for the hotspot part (where OPENJDK isn't defined
by default). So if the build for hotspot can be changed to the same as
the jdk tree default with OPENJDK=true then I think Coleen's change is
fine.
But I am not entirely sure where exactly the correct spot in the
toplevel/hotspot make files is to set it.
Thanks,
Mark
More information about the hotspot-dev
mailing list