code: private Set<String> doGetDefaultProfiles() {
          synchronized (defaultProfiles) {
              if (defaultProfiles.isEmpty()) {
                  String[] profiles = getProfilesFromSystemProperty(DEFAULT_PROFILES_PROPERTY_NAME);
                  if (profiles != null) {
                      setDefaultProfiles(profiles);
                      String[] defaultProfiles = getDefaultProfiles();
                      if (defaultProfiles.length > 0) {
                          log.info("Default profiles [" + StringUtils.joinCommaDelimitedList(defaultProfiles) + "]");
                      }
                  }
              }
              return defaultProfiles;
          }
      }
docs: Returns the set of default profiles explicitly set via
  {@link #setDefaultProfiles(String...)}, then check for the presence of the
  {@value #DEFAULT_PROFILES_PROPERTY_NAME} property and assign its value (if any)
  to the set of default profiles.